From acd225cb6ad04d27b83e728bde3adfdc103f204e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:06:33 +0000 Subject: [PATCH 1/3] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../scheduler/v1/CloudSchedulerClient.java | 20 +- .../scheduler/v1/CloudSchedulerSettings.java | 30 +- .../cloud/scheduler/v1/gapic_metadata.json | 0 .../cloud/scheduler/v1/package-info.java | 0 .../scheduler/v1/stub/CloudSchedulerStub.java | 0 .../v1/stub/CloudSchedulerStubSettings.java | 59 +- .../GrpcCloudSchedulerCallableFactory.java | 0 .../v1/stub/GrpcCloudSchedulerStub.java | 1 + ...HttpJsonCloudSchedulerCallableFactory.java | 105 ++ .../v1/stub/HttpJsonCloudSchedulerStub.java | 554 ++++++ .../v1/CloudSchedulerClientHttpJsonTest.java | 875 +++++++++ .../v1/CloudSchedulerClientTest.java | 0 .../scheduler/v1/MockCloudScheduler.java | 0 .../scheduler/v1/MockCloudSchedulerImpl.java | 0 .../scheduler/v1/CloudSchedulerGrpc.java | 767 +++----- .../scheduler/v1/AppEngineHttpTarget.java | 772 ++++---- .../v1/AppEngineHttpTargetOrBuilder.java | 75 +- .../cloud/scheduler/v1/AppEngineRouting.java | 540 +++--- .../v1/AppEngineRoutingOrBuilder.java | 54 +- .../cloud/scheduler/v1/CreateJobRequest.java | 445 ++--- .../v1/CreateJobRequestOrBuilder.java | 43 +- .../cloud/scheduler/v1/DeleteJobRequest.java | 329 ++-- .../v1/DeleteJobRequestOrBuilder.java | 31 + .../cloud/scheduler/v1/GetJobRequest.java | 329 ++-- .../scheduler/v1/GetJobRequestOrBuilder.java | 31 + .../google/cloud/scheduler/v1/HttpMethod.java | 117 +- .../google/cloud/scheduler/v1/HttpTarget.java | 919 ++++------ .../scheduler/v1/HttpTargetOrBuilder.java | 86 +- .../com/google/cloud/scheduler/v1/Job.java | 1629 ++++++---------- .../google/cloud/scheduler/v1/JobName.java | 0 .../cloud/scheduler/v1/JobOrBuilder.java | 132 +- .../google/cloud/scheduler/v1/JobProto.java | 110 ++ .../cloud/scheduler/v1/ListJobsRequest.java | 442 ++--- .../v1/ListJobsRequestOrBuilder.java | 47 +- .../cloud/scheduler/v1/ListJobsResponse.java | 454 ++--- .../v1/ListJobsResponseOrBuilder.java | 46 +- .../cloud/scheduler/v1/LocationName.java | 0 .../google/cloud/scheduler/v1/OAuthToken.java | 377 ++-- .../scheduler/v1/OAuthTokenOrBuilder.java | 36 +- .../google/cloud/scheduler/v1/OidcToken.java | 377 ++-- .../scheduler/v1/OidcTokenOrBuilder.java | 36 +- .../cloud/scheduler/v1/PauseJobRequest.java | 329 ++-- .../v1/PauseJobRequestOrBuilder.java | 31 + .../cloud/scheduler/v1/PubsubTarget.java | 599 +++--- .../scheduler/v1/PubsubTargetOrBuilder.java | 61 +- .../cloud/scheduler/v1/ResumeJobRequest.java | 329 ++-- .../v1/ResumeJobRequestOrBuilder.java | 31 + .../cloud/scheduler/v1/RetryConfig.java | 595 +++--- .../scheduler/v1/RetryConfigOrBuilder.java | 48 +- .../cloud/scheduler/v1/RunJobRequest.java | 329 ++-- .../scheduler/v1/RunJobRequestOrBuilder.java | 31 + .../cloud/scheduler/v1/SchedulerProto.java | 223 +++ .../cloud/scheduler/v1/TargetProto.java | 182 ++ .../cloud/scheduler/v1/UpdateJobRequest.java | 473 ++--- .../v1/UpdateJobRequestOrBuilder.java | 43 +- .../cloud/scheduler/v1/cloudscheduler.proto | 0 .../proto/google/cloud/scheduler/v1/job.proto | 0 .../google/cloud/scheduler/v1/target.proto | 0 .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../createjob/AsyncCreateJob.java | 47 + .../createjob/SyncCreateJob.java | 44 + .../SyncCreateJobLocationnameJob.java | 40 + .../createjob/SyncCreateJobStringJob.java | 40 + .../deletejob/AsyncDeleteJob.java | 46 + .../deletejob/SyncDeleteJob.java | 43 + .../deletejob/SyncDeleteJobJobname.java | 39 + .../deletejob/SyncDeleteJobString.java | 39 + .../getjob/AsyncGetJob.java | 46 + .../getjob/SyncGetJob.java | 43 + .../getjob/SyncGetJobJobname.java | 39 + .../getjob/SyncGetJobString.java | 39 + .../listjobs/AsyncListJobs.java | 50 + .../listjobs/AsyncListJobsPaged.java | 58 + .../listjobs/SyncListJobs.java | 47 + .../listjobs/SyncListJobsLocationname.java | 41 + .../listjobs/SyncListJobsString.java | 41 + .../pausejob/AsyncPauseJob.java | 46 + .../pausejob/SyncPauseJob.java | 43 + .../pausejob/SyncPauseJobJobname.java | 39 + .../pausejob/SyncPauseJobString.java | 39 + .../resumejob/AsyncResumeJob.java | 46 + .../resumejob/SyncResumeJob.java | 43 + .../resumejob/SyncResumeJobJobname.java | 39 + .../resumejob/SyncResumeJobString.java | 39 + .../runjob/AsyncRunJob.java | 46 + .../runjob/SyncRunJob.java | 43 + .../runjob/SyncRunJobJobname.java | 39 + .../runjob/SyncRunJobString.java | 39 + .../updatejob/AsyncUpdateJob.java | 47 + .../updatejob/SyncUpdateJob.java | 44 + .../updatejob/SyncUpdateJobJobFieldmask.java | 40 + .../getjob/SyncGetJob.java | 46 + .../getjob/SyncGetJob.java | 46 + .../v1beta1/CloudSchedulerClient.java | 20 +- .../v1beta1/CloudSchedulerSettings.java | 30 +- .../scheduler/v1beta1/gapic_metadata.json | 0 .../cloud/scheduler/v1beta1/package-info.java | 0 .../v1beta1/stub/CloudSchedulerStub.java | 0 .../stub/CloudSchedulerStubSettings.java | 59 +- .../GrpcCloudSchedulerCallableFactory.java | 0 .../v1beta1/stub/GrpcCloudSchedulerStub.java | 1 + ...HttpJsonCloudSchedulerCallableFactory.java | 105 ++ .../stub/HttpJsonCloudSchedulerStub.java | 554 ++++++ .../CloudSchedulerClientHttpJsonTest.java | 875 +++++++++ .../v1beta1/CloudSchedulerClientTest.java | 0 .../scheduler/v1beta1/MockCloudScheduler.java | 0 .../v1beta1/MockCloudSchedulerImpl.java | 0 .../scheduler/v1beta1/CloudSchedulerGrpc.java | 816 +++------ .../v1beta1/AppEngineHttpTarget.java | 788 ++++---- .../v1beta1/AppEngineHttpTargetOrBuilder.java | 75 +- .../scheduler/v1beta1/AppEngineRouting.java | 550 +++--- .../v1beta1/AppEngineRoutingOrBuilder.java | 54 +- .../scheduler/v1beta1/CreateJobRequest.java | 466 ++--- .../v1beta1/CreateJobRequestOrBuilder.java | 52 +- .../scheduler/v1beta1/DeleteJobRequest.java | 339 ++-- .../v1beta1/DeleteJobRequestOrBuilder.java | 31 + .../scheduler/v1beta1/GetJobRequest.java | 336 ++-- .../v1beta1/GetJobRequestOrBuilder.java | 31 + .../cloud/scheduler/v1beta1/HttpMethod.java | 117 +- .../cloud/scheduler/v1beta1/HttpTarget.java | 918 ++++------ .../v1beta1/HttpTargetOrBuilder.java | 86 +- .../google/cloud/scheduler/v1beta1/Job.java | 1630 ++++++----------- .../cloud/scheduler/v1beta1/JobName.java | 0 .../cloud/scheduler/v1beta1/JobOrBuilder.java | 132 +- .../cloud/scheduler/v1beta1/JobProto.java | 111 ++ .../scheduler/v1beta1/ListJobsRequest.java | 452 ++--- .../v1beta1/ListJobsRequestOrBuilder.java | 47 +- .../scheduler/v1beta1/ListJobsResponse.java | 459 ++--- .../v1beta1/ListJobsResponseOrBuilder.java | 46 +- .../cloud/scheduler/v1beta1/LocationName.java | 0 .../cloud/scheduler/v1beta1/OAuthToken.java | 380 ++-- .../v1beta1/OAuthTokenOrBuilder.java | 36 +- .../cloud/scheduler/v1beta1/OidcToken.java | 380 ++-- .../scheduler/v1beta1/OidcTokenOrBuilder.java | 36 +- .../scheduler/v1beta1/PauseJobRequest.java | 339 ++-- .../v1beta1/PauseJobRequestOrBuilder.java | 31 + .../cloud/scheduler/v1beta1/PubsubTarget.java | 602 +++--- .../v1beta1/PubsubTargetOrBuilder.java | 61 +- .../scheduler/v1beta1/ResumeJobRequest.java | 339 ++-- .../v1beta1/ResumeJobRequestOrBuilder.java | 31 + .../cloud/scheduler/v1beta1/RetryConfig.java | 595 +++--- .../v1beta1/RetryConfigOrBuilder.java | 48 +- .../scheduler/v1beta1/RunJobRequest.java | 336 ++-- .../v1beta1/RunJobRequestOrBuilder.java | 31 + .../scheduler/v1beta1/SchedulerProto.java | 226 +++ .../cloud/scheduler/v1beta1/TargetProto.java | 183 ++ .../scheduler/v1beta1/UpdateJobRequest.java | 458 ++--- .../v1beta1/UpdateJobRequestOrBuilder.java | 43 +- .../scheduler/v1beta1/cloudscheduler.proto | 0 .../google/cloud/scheduler/v1beta1/job.proto | 0 .../cloud/scheduler/v1beta1/target.proto | 0 .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../createjob/AsyncCreateJob.java | 47 + .../createjob/SyncCreateJob.java | 44 + .../SyncCreateJobLocationnameJob.java | 40 + .../createjob/SyncCreateJobStringJob.java | 40 + .../deletejob/AsyncDeleteJob.java | 46 + .../deletejob/SyncDeleteJob.java | 43 + .../deletejob/SyncDeleteJobJobname.java | 39 + .../deletejob/SyncDeleteJobString.java | 39 + .../getjob/AsyncGetJob.java | 46 + .../getjob/SyncGetJob.java | 43 + .../getjob/SyncGetJobJobname.java | 39 + .../getjob/SyncGetJobString.java | 39 + .../listjobs/AsyncListJobs.java | 50 + .../listjobs/AsyncListJobsPaged.java | 58 + .../listjobs/SyncListJobs.java | 47 + .../listjobs/SyncListJobsLocationname.java | 41 + .../listjobs/SyncListJobsString.java | 41 + .../pausejob/AsyncPauseJob.java | 46 + .../pausejob/SyncPauseJob.java | 43 + .../pausejob/SyncPauseJobJobname.java | 39 + .../pausejob/SyncPauseJobString.java | 39 + .../resumejob/AsyncResumeJob.java | 46 + .../resumejob/SyncResumeJob.java | 43 + .../resumejob/SyncResumeJobJobname.java | 39 + .../resumejob/SyncResumeJobString.java | 39 + .../runjob/AsyncRunJob.java | 46 + .../runjob/SyncRunJob.java | 43 + .../runjob/SyncRunJobJobname.java | 39 + .../runjob/SyncRunJobString.java | 39 + .../updatejob/AsyncUpdateJob.java | 47 + .../updatejob/SyncUpdateJob.java | 44 + .../updatejob/SyncUpdateJobJobFieldmask.java | 40 + .../getjob/SyncGetJob.java | 46 + .../getjob/SyncGetJob.java | 46 + .../v1/DeleteJobRequestOrBuilder.java | 56 - .../scheduler/v1/GetJobRequestOrBuilder.java | 56 - .../google/cloud/scheduler/v1/JobProto.java | 144 -- .../v1/PauseJobRequestOrBuilder.java | 56 - .../v1/ResumeJobRequestOrBuilder.java | 56 - .../scheduler/v1/RunJobRequestOrBuilder.java | 56 - .../cloud/scheduler/v1/SchedulerProto.java | 246 --- .../cloud/scheduler/v1/TargetProto.java | 213 --- .../v1beta1/DeleteJobRequestOrBuilder.java | 56 - .../v1beta1/GetJobRequestOrBuilder.java | 56 - .../cloud/scheduler/v1beta1/JobProto.java | 145 -- .../v1beta1/PauseJobRequestOrBuilder.java | 56 - .../v1beta1/ResumeJobRequestOrBuilder.java | 56 - .../v1beta1/RunJobRequestOrBuilder.java | 56 - .../scheduler/v1beta1/SchedulerProto.java | 249 --- .../cloud/scheduler/v1beta1/TargetProto.java | 218 --- 206 files changed, 16098 insertions(+), 15354 deletions(-) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java (97%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java (89%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json (100%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/package-info.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java (89%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java create mode 100644 owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1/google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java (100%) rename {grpc-google-cloud-scheduler-v1 => owl-bot-staging/v1/grpc-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java (53%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java (76%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java (89%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java (84%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java (90%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java (71%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java (70%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java (69%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java (76%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java (88%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/Job.java (78%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/JobName.java (100%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java (92%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java (73%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java (69%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java (75%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java (69%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/LocationName.java (100%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java (73%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java (67%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java (73%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java (66%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java (68%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java (71%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java (78%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java (88%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java (70%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java (73%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto (100%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/proto/google/cloud/scheduler/v1/job.proto (100%) rename {proto-google-cloud-scheduler-v1 => owl-bot-staging/v1/proto-google-cloud-scheduler-v1}/src/main/proto/google/cloud/scheduler/v1/target.proto (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java (97%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java (89%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json (100%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java (89%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java (99%) create mode 100644 owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java (100%) rename {google-cloud-scheduler => owl-bot-staging/v1beta1/google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java (100%) rename {grpc-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java (50%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java (76%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java (89%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java (83%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java (90%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java (70%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java (67%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java (69%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java (76%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java (88%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java (78%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java (100%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java (92%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java (72%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java (70%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java (74%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java (72%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java (100%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java (73%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java (67%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java (73%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java (67%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java (68%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java (71%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java (78%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java (88%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java (65%) create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java (70%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java (72%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto (100%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/proto/google/cloud/scheduler/v1beta1/job.proto (100%) rename {proto-google-cloud-scheduler-v1beta1 => owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1}/src/main/proto/google/cloud/scheduler/v1beta1/target.proto (100%) create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java create mode 100644 owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java delete mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java delete mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java similarity index 97% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java index 24efc245..608a1b1c 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java +++ b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java @@ -58,13 +58,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -99,6 +99,20 @@ * CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); * } * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * CloudSchedulerSettings cloudSchedulerSettings =
+ *     CloudSchedulerSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             CloudSchedulerSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java similarity index 89% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java index 17938456..3de8a6a1 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java +++ b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java @@ -23,10 +23,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.scheduler.v1.stub.CloudSchedulerStubSettings; @@ -42,10 +44,10 @@ *

The default instance has everything set to sensible defaults: * *

* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -139,11 +141,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return CloudSchedulerStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return CloudSchedulerStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return CloudSchedulerStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return CloudSchedulerStubSettings.defaultTransportChannelProvider(); } @@ -153,11 +162,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return CloudSchedulerStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -195,6 +210,11 @@ private static Builder createDefault() { return new Builder(CloudSchedulerStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(CloudSchedulerStubSettings.newHttpJsonBuilder()); + } + public CloudSchedulerStubSettings.Builder getStubSettingsBuilder() { return ((CloudSchedulerStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java similarity index 89% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java index fd48d0bb..2fe8c50f 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java @@ -27,6 +27,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -67,10 +70,10 @@ *

The default instance has everything set to sensible defaults: * *

* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -210,6 +213,11 @@ public CloudSchedulerStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcCloudSchedulerStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonCloudSchedulerStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -242,18 +250,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(CloudSchedulerStubSettings.class)) @@ -261,11 +276,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(CloudSchedulerStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return CloudSchedulerStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -411,6 +445,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .listJobsSettings() diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java similarity index 99% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java index 3b27f0df..62564b6a 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java +++ b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java @@ -40,6 +40,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java new file mode 100644 index 00000000..ed9f51aa --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the CloudScheduler service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonCloudSchedulerCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java new file mode 100644 index 00000000..7b1f796a --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java @@ -0,0 +1,554 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.stub; + +import static com.google.cloud.scheduler.v1.CloudSchedulerClient.ListJobsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.scheduler.v1.CreateJobRequest; +import com.google.cloud.scheduler.v1.DeleteJobRequest; +import com.google.cloud.scheduler.v1.GetJobRequest; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.ListJobsRequest; +import com.google.cloud.scheduler.v1.ListJobsResponse; +import com.google.cloud.scheduler.v1.PauseJobRequest; +import com.google.cloud.scheduler.v1.ResumeJobRequest; +import com.google.cloud.scheduler.v1.RunJobRequest; +import com.google.cloud.scheduler.v1.UpdateJobRequest; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the CloudScheduler service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonCloudSchedulerStub extends CloudSchedulerStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listJobsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/ListJobs") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/jobs", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListJobsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/GetJob") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/CreateJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/jobs", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("job", request.getJob())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/UpdateJob") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{job.name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "job.name", request.getJob().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("job", request.getJob())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/DeleteJob") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor pauseJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/PauseJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}:pause", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor resumeJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/ResumeJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}:resume", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor runJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1.CloudScheduler/RunJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/jobs/*}:run", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listJobsCallable; + private final UnaryCallable listJobsPagedCallable; + private final UnaryCallable getJobCallable; + private final UnaryCallable createJobCallable; + private final UnaryCallable updateJobCallable; + private final UnaryCallable deleteJobCallable; + private final UnaryCallable pauseJobCallable; + private final UnaryCallable resumeJobCallable; + private final UnaryCallable runJobCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonCloudSchedulerStub create(CloudSchedulerStubSettings settings) + throws IOException { + return new HttpJsonCloudSchedulerStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonCloudSchedulerStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonCloudSchedulerStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonCloudSchedulerStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonCloudSchedulerCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonCloudSchedulerStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings listJobsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listJobsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings pauseJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(pauseJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings resumeJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(resumeJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings runJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(runJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listJobsCallable = + callableFactory.createUnaryCallable( + listJobsTransportSettings, settings.listJobsSettings(), clientContext); + this.listJobsPagedCallable = + callableFactory.createPagedCallable( + listJobsTransportSettings, settings.listJobsSettings(), clientContext); + this.getJobCallable = + callableFactory.createUnaryCallable( + getJobTransportSettings, settings.getJobSettings(), clientContext); + this.createJobCallable = + callableFactory.createUnaryCallable( + createJobTransportSettings, settings.createJobSettings(), clientContext); + this.updateJobCallable = + callableFactory.createUnaryCallable( + updateJobTransportSettings, settings.updateJobSettings(), clientContext); + this.deleteJobCallable = + callableFactory.createUnaryCallable( + deleteJobTransportSettings, settings.deleteJobSettings(), clientContext); + this.pauseJobCallable = + callableFactory.createUnaryCallable( + pauseJobTransportSettings, settings.pauseJobSettings(), clientContext); + this.resumeJobCallable = + callableFactory.createUnaryCallable( + resumeJobTransportSettings, settings.resumeJobSettings(), clientContext); + this.runJobCallable = + callableFactory.createUnaryCallable( + runJobTransportSettings, settings.runJobSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listJobsMethodDescriptor); + methodDescriptors.add(getJobMethodDescriptor); + methodDescriptors.add(createJobMethodDescriptor); + methodDescriptors.add(updateJobMethodDescriptor); + methodDescriptors.add(deleteJobMethodDescriptor); + methodDescriptors.add(pauseJobMethodDescriptor); + methodDescriptors.add(resumeJobMethodDescriptor); + methodDescriptors.add(runJobMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable listJobsCallable() { + return listJobsCallable; + } + + @Override + public UnaryCallable listJobsPagedCallable() { + return listJobsPagedCallable; + } + + @Override + public UnaryCallable getJobCallable() { + return getJobCallable; + } + + @Override + public UnaryCallable createJobCallable() { + return createJobCallable; + } + + @Override + public UnaryCallable updateJobCallable() { + return updateJobCallable; + } + + @Override + public UnaryCallable deleteJobCallable() { + return deleteJobCallable; + } + + @Override + public UnaryCallable pauseJobCallable() { + return pauseJobCallable; + } + + @Override + public UnaryCallable resumeJobCallable() { + return resumeJobCallable; + } + + @Override + public UnaryCallable runJobCallable() { + return runJobCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java new file mode 100644 index 00000000..e7689f24 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java @@ -0,0 +1,875 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1; + +import static com.google.cloud.scheduler.v1.CloudSchedulerClient.ListJobsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.scheduler.v1.stub.HttpJsonCloudSchedulerStub; +import com.google.common.collect.Lists; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import com.google.rpc.Status; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class CloudSchedulerClientHttpJsonTest { + private static MockHttpService mockService; + private static CloudSchedulerClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonCloudSchedulerStub.getMethodDescriptors(), + CloudSchedulerSettings.getDefaultEndpoint()); + CloudSchedulerSettings settings = + CloudSchedulerSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + CloudSchedulerSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = CloudSchedulerClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listJobsTest() throws Exception { + Job responsesElement = Job.newBuilder().build(); + ListJobsResponse expectedResponse = + ListJobsResponse.newBuilder() + .setNextPageToken("") + .addAllJobs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListJobsPagedResponse pagedListResponse = client.listJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listJobsTest2() throws Exception { + Job responsesElement = Job.newBuilder().build(); + ListJobsResponse expectedResponse = + ListJobsResponse.newBuilder() + .setNextPageToken("") + .addAllJobs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListJobsPagedResponse pagedListResponse = client.listJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.getJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.getJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.getJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.getJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + + Job actualResponse = client.createJob(parent, job); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + client.createJob(parent, job); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Job job = Job.newBuilder().build(); + + Job actualResponse = client.createJob(parent, job); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Job job = Job.newBuilder().build(); + client.createJob(parent, job); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Job job = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Job actualResponse = client.updateJob(job, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Job job = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateJob(job, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + client.deleteJob(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.deleteJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + client.deleteJob(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.deleteJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.pauseJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.pauseJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.pauseJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.pauseJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.resumeJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.resumeJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.resumeJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.resumeJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.runJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.runJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.runJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.runJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java b/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java similarity index 100% rename from google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java diff --git a/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java b/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java similarity index 100% rename from google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java diff --git a/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java b/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java similarity index 100% rename from google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java rename to owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java diff --git a/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java similarity index 53% rename from grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java index 45346eee..416b4a9d 100644 --- a/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.scheduler.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * The Cloud Scheduler API allows external entities to reliably
  * schedule asynchronous jobs.
@@ -36,430 +19,337 @@ private CloudSchedulerGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.scheduler.v1.CloudScheduler";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.ListJobsRequest,
-          com.google.cloud.scheduler.v1.ListJobsResponse>
-      getListJobsMethod;
+  private static volatile io.grpc.MethodDescriptor getListJobsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListJobs",
       requestType = com.google.cloud.scheduler.v1.ListJobsRequest.class,
       responseType = com.google.cloud.scheduler.v1.ListJobsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.ListJobsRequest,
-          com.google.cloud.scheduler.v1.ListJobsResponse>
-      getListJobsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.ListJobsRequest,
-            com.google.cloud.scheduler.v1.ListJobsResponse>
-        getListJobsMethod;
+  public static io.grpc.MethodDescriptor getListJobsMethod() {
+    io.grpc.MethodDescriptor getListJobsMethod;
     if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
-          CloudSchedulerGrpc.getListJobsMethod =
-              getListJobsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.ListJobsRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.ListJobsResponse.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
-                      .build();
+          CloudSchedulerGrpc.getListJobsMethod = getListJobsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.ListJobsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.ListJobsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
+              .build();
         }
       }
     }
     return getListJobsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.GetJobRequest, com.google.cloud.scheduler.v1.Job>
-      getGetJobMethod;
+  private static volatile io.grpc.MethodDescriptor getGetJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetJob",
       requestType = com.google.cloud.scheduler.v1.GetJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.GetJobRequest, com.google.cloud.scheduler.v1.Job>
-      getGetJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.GetJobRequest, com.google.cloud.scheduler.v1.Job>
-        getGetJobMethod;
+  public static io.grpc.MethodDescriptor getGetJobMethod() {
+    io.grpc.MethodDescriptor getGetJobMethod;
     if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
-          CloudSchedulerGrpc.getGetJobMethod =
-              getGetJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.GetJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
-                      .build();
+          CloudSchedulerGrpc.getGetJobMethod = getGetJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.GetJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
+              .build();
         }
       }
     }
     return getGetJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.CreateJobRequest, com.google.cloud.scheduler.v1.Job>
-      getCreateJobMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateJob",
       requestType = com.google.cloud.scheduler.v1.CreateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.CreateJobRequest, com.google.cloud.scheduler.v1.Job>
-      getCreateJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.CreateJobRequest, com.google.cloud.scheduler.v1.Job>
-        getCreateJobMethod;
+  public static io.grpc.MethodDescriptor getCreateJobMethod() {
+    io.grpc.MethodDescriptor getCreateJobMethod;
     if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
-          CloudSchedulerGrpc.getCreateJobMethod =
-              getCreateJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.CreateJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
-                      .build();
+          CloudSchedulerGrpc.getCreateJobMethod = getCreateJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.CreateJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
+              .build();
         }
       }
     }
     return getCreateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.UpdateJobRequest, com.google.cloud.scheduler.v1.Job>
-      getUpdateJobMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateJob",
       requestType = com.google.cloud.scheduler.v1.UpdateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.UpdateJobRequest, com.google.cloud.scheduler.v1.Job>
-      getUpdateJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.UpdateJobRequest, com.google.cloud.scheduler.v1.Job>
-        getUpdateJobMethod;
+  public static io.grpc.MethodDescriptor getUpdateJobMethod() {
+    io.grpc.MethodDescriptor getUpdateJobMethod;
     if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
-          CloudSchedulerGrpc.getUpdateJobMethod =
-              getUpdateJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.UpdateJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
-                      .build();
+          CloudSchedulerGrpc.getUpdateJobMethod = getUpdateJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.UpdateJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
+              .build();
         }
       }
     }
     return getUpdateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>
-      getDeleteJobMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteJob",
       requestType = com.google.cloud.scheduler.v1.DeleteJobRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>
-      getDeleteJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>
-        getDeleteJobMethod;
+  public static io.grpc.MethodDescriptor getDeleteJobMethod() {
+    io.grpc.MethodDescriptor getDeleteJobMethod;
     if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
-          CloudSchedulerGrpc.getDeleteJobMethod =
-              getDeleteJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.DeleteJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
-                      .build();
+          CloudSchedulerGrpc.getDeleteJobMethod = getDeleteJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.DeleteJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
+              .build();
         }
       }
     }
     return getDeleteJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.PauseJobRequest, com.google.cloud.scheduler.v1.Job>
-      getPauseJobMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseJob",
       requestType = com.google.cloud.scheduler.v1.PauseJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.PauseJobRequest, com.google.cloud.scheduler.v1.Job>
-      getPauseJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.PauseJobRequest, com.google.cloud.scheduler.v1.Job>
-        getPauseJobMethod;
+  public static io.grpc.MethodDescriptor getPauseJobMethod() {
+    io.grpc.MethodDescriptor getPauseJobMethod;
     if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
-          CloudSchedulerGrpc.getPauseJobMethod =
-              getPauseJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.PauseJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
-                      .build();
+          CloudSchedulerGrpc.getPauseJobMethod = getPauseJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.PauseJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
+              .build();
         }
       }
     }
     return getPauseJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.ResumeJobRequest, com.google.cloud.scheduler.v1.Job>
-      getResumeJobMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeJob",
       requestType = com.google.cloud.scheduler.v1.ResumeJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.ResumeJobRequest, com.google.cloud.scheduler.v1.Job>
-      getResumeJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.ResumeJobRequest, com.google.cloud.scheduler.v1.Job>
-        getResumeJobMethod;
+  public static io.grpc.MethodDescriptor getResumeJobMethod() {
+    io.grpc.MethodDescriptor getResumeJobMethod;
     if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
-          CloudSchedulerGrpc.getResumeJobMethod =
-              getResumeJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.ResumeJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
-                      .build();
+          CloudSchedulerGrpc.getResumeJobMethod = getResumeJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.ResumeJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
+              .build();
         }
       }
     }
     return getResumeJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.RunJobRequest, com.google.cloud.scheduler.v1.Job>
-      getRunJobMethod;
+  private static volatile io.grpc.MethodDescriptor getRunJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunJob",
       requestType = com.google.cloud.scheduler.v1.RunJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1.RunJobRequest, com.google.cloud.scheduler.v1.Job>
-      getRunJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1.RunJobRequest, com.google.cloud.scheduler.v1.Job>
-        getRunJobMethod;
+  public static io.grpc.MethodDescriptor getRunJobMethod() {
+    io.grpc.MethodDescriptor getRunJobMethod;
     if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
-          CloudSchedulerGrpc.getRunJobMethod =
-              getRunJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.RunJobRequest.getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
-                      .build();
+          CloudSchedulerGrpc.getRunJobMethod = getRunJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.RunJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
+              .build();
         }
       }
     }
     return getRunJobMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudSchedulerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudSchedulerStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudSchedulerStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudSchedulerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudSchedulerStub(channel, callOptions);
+        }
+      };
     return CloudSchedulerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudSchedulerBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudSchedulerBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudSchedulerBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudSchedulerBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudSchedulerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudSchedulerBlockingStub(channel, callOptions);
+        }
+      };
     return CloudSchedulerBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudSchedulerFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudSchedulerFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudSchedulerFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudSchedulerFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudSchedulerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudSchedulerFutureStub(channel, callOptions);
+        }
+      };
     return CloudSchedulerFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public abstract static class CloudSchedulerImplBase implements io.grpc.BindableService { + public static abstract class CloudSchedulerImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists jobs.
      * 
*/ - public void listJobs( - com.google.cloud.scheduler.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** - * - * *
      * Gets a job.
      * 
*/ - public void getJob( - com.google.cloud.scheduler.v1.GetJobRequest request, + public void getJob(com.google.cloud.scheduler.v1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** - * - * *
      * Creates a job.
      * 
*/ - public void createJob( - com.google.cloud.scheduler.v1.CreateJobRequest request, + public void createJob(com.google.cloud.scheduler.v1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -470,28 +360,22 @@ public void createJob(
      * until a successful response is received.
      * 
*/ - public void updateJob( - com.google.cloud.scheduler.v1.UpdateJobRequest request, + public void updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** - * - * *
      * Deletes a job.
      * 
*/ - public void deleteJob( - com.google.cloud.scheduler.v1.DeleteJobRequest request, + public void deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** - * - * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -501,15 +385,12 @@ public void deleteJob(
      * to be paused.
      * 
*/ - public void pauseJob( - com.google.cloud.scheduler.v1.PauseJobRequest request, + public void pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseJobMethod(), responseObserver); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -518,147 +399,137 @@ public void pauseJob(
      * [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob( - com.google.cloud.scheduler.v1.ResumeJobRequest request, + public void resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeJobMethod(), responseObserver); } /** - * - * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob( - com.google.cloud.scheduler.v1.RunJobRequest request, + public void runJob(com.google.cloud.scheduler.v1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunJobMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.ListJobsRequest, - com.google.cloud.scheduler.v1.ListJobsResponse>(this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.ListJobsRequest, + com.google.cloud.scheduler.v1.ListJobsResponse>( + this, METHODID_LIST_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.GetJobRequest, - com.google.cloud.scheduler.v1.Job>(this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.GetJobRequest, + com.google.cloud.scheduler.v1.Job>( + this, METHODID_GET_JOB))) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.CreateJobRequest, - com.google.cloud.scheduler.v1.Job>(this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.CreateJobRequest, + com.google.cloud.scheduler.v1.Job>( + this, METHODID_CREATE_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.UpdateJobRequest, - com.google.cloud.scheduler.v1.Job>(this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.UpdateJobRequest, + com.google.cloud.scheduler.v1.Job>( + this, METHODID_UPDATE_JOB))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.DeleteJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) .addMethod( - getPauseJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.PauseJobRequest, - com.google.cloud.scheduler.v1.Job>(this, METHODID_PAUSE_JOB))) + getPauseJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.PauseJobRequest, + com.google.cloud.scheduler.v1.Job>( + this, METHODID_PAUSE_JOB))) .addMethod( - getResumeJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.ResumeJobRequest, - com.google.cloud.scheduler.v1.Job>(this, METHODID_RESUME_JOB))) + getResumeJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.ResumeJobRequest, + com.google.cloud.scheduler.v1.Job>( + this, METHODID_RESUME_JOB))) .addMethod( - getRunJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.RunJobRequest, - com.google.cloud.scheduler.v1.Job>(this, METHODID_RUN_JOB))) + getRunJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.RunJobRequest, + com.google.cloud.scheduler.v1.Job>( + this, METHODID_RUN_JOB))) .build(); } } /** - * - * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerStub - extends io.grpc.stub.AbstractAsyncStub { - private CloudSchedulerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerStub extends io.grpc.stub.AbstractAsyncStub { + private CloudSchedulerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudSchedulerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudSchedulerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudSchedulerStub(channel, callOptions); } /** - * - * *
      * Lists jobs.
      * 
*/ - public void listJobs( - com.google.cloud.scheduler.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a job.
      * 
*/ - public void getJob( - com.google.cloud.scheduler.v1.GetJobRequest request, + public void getJob(com.google.cloud.scheduler.v1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a job.
      * 
*/ - public void createJob( - com.google.cloud.scheduler.v1.CreateJobRequest request, + public void createJob(com.google.cloud.scheduler.v1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -669,30 +540,24 @@ public void createJob(
      * until a successful response is received.
      * 
*/ - public void updateJob( - com.google.cloud.scheduler.v1.UpdateJobRequest request, + public void updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a job.
      * 
*/ - public void deleteJob( - com.google.cloud.scheduler.v1.DeleteJobRequest request, + public void deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -702,16 +567,13 @@ public void deleteJob(
      * to be paused.
      * 
*/ - public void pauseJob( - com.google.cloud.scheduler.v1.PauseJobRequest request, + public void pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -720,24 +582,20 @@ public void pauseJob(
      * [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob( - com.google.cloud.scheduler.v1.ResumeJobRequest request, + public void resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getResumeJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob( - com.google.cloud.scheduler.v1.RunJobRequest request, + public void runJob(com.google.cloud.scheduler.v1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request, responseObserver); @@ -745,16 +603,14 @@ public void runJob( } /** - * - * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudSchedulerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudSchedulerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -765,47 +621,36 @@ protected CloudSchedulerBlockingStub build( } /** - * - * *
      * Lists jobs.
      * 
*/ - public com.google.cloud.scheduler.v1.ListJobsResponse listJobs( - com.google.cloud.scheduler.v1.ListJobsRequest request) { + public com.google.cloud.scheduler.v1.ListJobsResponse listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a job.
      * 
*/ - public com.google.cloud.scheduler.v1.Job getJob( - com.google.cloud.scheduler.v1.GetJobRequest request) { + public com.google.cloud.scheduler.v1.Job getJob(com.google.cloud.scheduler.v1.GetJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetJobMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a job.
      * 
*/ - public com.google.cloud.scheduler.v1.Job createJob( - com.google.cloud.scheduler.v1.CreateJobRequest request) { + public com.google.cloud.scheduler.v1.Job createJob(com.google.cloud.scheduler.v1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -816,28 +661,22 @@ public com.google.cloud.scheduler.v1.Job createJob(
      * until a successful response is received.
      * 
*/ - public com.google.cloud.scheduler.v1.Job updateJob( - com.google.cloud.scheduler.v1.UpdateJobRequest request) { + public com.google.cloud.scheduler.v1.Job updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a job.
      * 
*/ - public com.google.protobuf.Empty deleteJob( - com.google.cloud.scheduler.v1.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -847,15 +686,12 @@ public com.google.protobuf.Empty deleteJob(
      * to be paused.
      * 
*/ - public com.google.cloud.scheduler.v1.Job pauseJob( - com.google.cloud.scheduler.v1.PauseJobRequest request) { + public com.google.cloud.scheduler.v1.Job pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseJobMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -864,39 +700,33 @@ public com.google.cloud.scheduler.v1.Job pauseJob(
      * [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
      * 
*/ - public com.google.cloud.scheduler.v1.Job resumeJob( - com.google.cloud.scheduler.v1.ResumeJobRequest request) { + public com.google.cloud.scheduler.v1.Job resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeJobMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.cloud.scheduler.v1.Job runJob( - com.google.cloud.scheduler.v1.RunJobRequest request) { + public com.google.cloud.scheduler.v1.Job runJob(com.google.cloud.scheduler.v1.RunJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunJobMethod(), getCallOptions(), request); } } /** - * - * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudSchedulerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudSchedulerFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -907,48 +737,39 @@ protected CloudSchedulerFutureStub build( } /** - * - * *
      * Lists jobs.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.scheduler.v1.ListJobsResponse> - listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.scheduler.v1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - getJob(com.google.cloud.scheduler.v1.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.scheduler.v1.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - createJob(com.google.cloud.scheduler.v1.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.scheduler.v1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -959,15 +780,13 @@ protected CloudSchedulerFutureStub build(
      * until a successful response is received.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateJob( + com.google.cloud.scheduler.v1.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a job.
      * 
@@ -979,8 +798,6 @@ public com.google.common.util.concurrent.ListenableFuture * Pauses a job. * If a job is paused then the system will stop executing the job @@ -990,15 +807,13 @@ public com.google.common.util.concurrent.ListenableFuture */ - public com.google.common.util.concurrent.ListenableFuture - pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseJob( + com.google.cloud.scheduler.v1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -1007,23 +822,21 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture
-        resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture resumeJob(
+        com.google.cloud.scheduler.v1.ResumeJobRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeJobMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - runJob(com.google.cloud.scheduler.v1.RunJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture runJob( + com.google.cloud.scheduler.v1.RunJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request); } @@ -1038,11 +851,11 @@ public com.google.common.util.concurrent.ListenableFuture - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CloudSchedulerImplBase serviceImpl; private final int methodId; @@ -1056,44 +869,35 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_JOBS: - serviceImpl.listJobs( - (com.google.cloud.scheduler.v1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listJobs((com.google.cloud.scheduler.v1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_JOB: - serviceImpl.getJob( - (com.google.cloud.scheduler.v1.GetJobRequest) request, + serviceImpl.getJob((com.google.cloud.scheduler.v1.GetJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_JOB: - serviceImpl.createJob( - (com.google.cloud.scheduler.v1.CreateJobRequest) request, + serviceImpl.createJob((com.google.cloud.scheduler.v1.CreateJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_JOB: - serviceImpl.updateJob( - (com.google.cloud.scheduler.v1.UpdateJobRequest) request, + serviceImpl.updateJob((com.google.cloud.scheduler.v1.UpdateJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_JOB: - serviceImpl.deleteJob( - (com.google.cloud.scheduler.v1.DeleteJobRequest) request, + serviceImpl.deleteJob((com.google.cloud.scheduler.v1.DeleteJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PAUSE_JOB: - serviceImpl.pauseJob( - (com.google.cloud.scheduler.v1.PauseJobRequest) request, + serviceImpl.pauseJob((com.google.cloud.scheduler.v1.PauseJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESUME_JOB: - serviceImpl.resumeJob( - (com.google.cloud.scheduler.v1.ResumeJobRequest) request, + serviceImpl.resumeJob((com.google.cloud.scheduler.v1.ResumeJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RUN_JOB: - serviceImpl.runJob( - (com.google.cloud.scheduler.v1.RunJobRequest) request, + serviceImpl.runJob((com.google.cloud.scheduler.v1.RunJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -1112,9 +916,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class CloudSchedulerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class CloudSchedulerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { CloudSchedulerBaseDescriptorSupplier() {} @java.lang.Override @@ -1156,19 +959,17 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CloudSchedulerGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) - .addMethod(getListJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getCreateJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getPauseJobMethod()) - .addMethod(getResumeJobMethod()) - .addMethod(getRunJobMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) + .addMethod(getListJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getCreateJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getPauseJobMethod()) + .addMethod(getResumeJobMethod()) + .addMethod(getRunJobMethod()) + .build(); } } } diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java similarity index 76% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java index a30f2708..c54e47fd 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * App Engine target. The job will be pushed to a job handler by means
  * of an HTTP request via an [http_method][google.cloud.scheduler.v1.AppEngineHttpTarget.http_method] such
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpTarget() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -53,15 +35,16 @@ private AppEngineHttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -81,62 +64,56 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.scheduler.v1.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.scheduler.v1.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1.AppEngineRouting.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.scheduler.v1.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -144,88 +121,75 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.AppEngineHttpTarget.class,
-            com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = - com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1.AppEngineRouting appEngineRouting_; /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -233,25 +197,18 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * App Engine Routing setting for the job.
    * 
@@ -266,8 +223,6 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti public static final int RELATIVE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object relativeUri_; /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -277,7 +232,6 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -286,15 +240,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -304,15 +257,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -321,23 +275,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.scheduler.v1.TargetProto - .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -346,8 +301,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -377,22 +330,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -423,12 +376,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -459,16 +411,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -499,11 +451,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -513,8 +466,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -523,7 +474,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -532,7 +482,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -544,9 +493,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -555,8 +504,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -569,28 +522,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -600,22 +555,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.AppEngineHttpTarget)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.AppEngineHttpTarget other = - (com.google.cloud.scheduler.v1.AppEngineHttpTarget) obj; + com.google.cloud.scheduler.v1.AppEngineHttpTarget other = (com.google.cloud.scheduler.v1.AppEngineHttpTarget) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -647,103 +605,96 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.AppEngineHttpTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine target. The job will be pushed to a job handler by means
    * of an HTTP request via an [http_method][google.cloud.scheduler.v1.AppEngineHttpTarget.http_method] such
@@ -758,43 +709,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.AppEngineHttpTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.AppEngineHttpTarget)
       com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.AppEngineHttpTarget.class,
-              com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.AppEngineHttpTarget.newBuilder()
@@ -802,15 +753,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -831,9 +783,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -852,8 +804,7 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1.AppEngineHttpTarget result =
-          new com.google.cloud.scheduler.v1.AppEngineHttpTarget(this);
+      com.google.cloud.scheduler.v1.AppEngineHttpTarget result = new com.google.cloud.scheduler.v1.AppEngineHttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -873,39 +824,38 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -913,8 +863,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -925,7 +874,8 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.AppEngineHttpTarget other
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -948,8 +898,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.scheduler.v1.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.scheduler.v1.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -958,74 +907,59 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = - com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1033,25 +967,22 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1059,47 +990,34 @@ public Builder clearHttpMethod() { private com.google.cloud.scheduler.v1.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineRouting, - com.google.cloud.scheduler.v1.AppEngineRouting.Builder, - com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.scheduler.v1.AppEngineRouting, com.google.cloud.scheduler.v1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1120,8 +1038,6 @@ public Builder setAppEngineRouting(com.google.cloud.scheduler.v1.AppEngineRoutin return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1140,8 +1056,6 @@ public Builder setAppEngineRouting( return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1152,9 +1066,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.scheduler.v1.AppEngineRout if (appEngineRoutingBuilder_ == null) { if (appEngineRouting_ != null) { appEngineRouting_ = - com.google.cloud.scheduler.v1.AppEngineRouting.newBuilder(appEngineRouting_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.scheduler.v1.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial(); } else { appEngineRouting_ = value; } @@ -1166,8 +1078,6 @@ public Builder mergeAppEngineRouting(com.google.cloud.scheduler.v1.AppEngineRout return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1186,8 +1096,6 @@ public Builder clearAppEngineRouting() { return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1195,13 +1103,11 @@ public Builder clearAppEngineRouting() { * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; */ public com.google.cloud.scheduler.v1.AppEngineRouting.Builder getAppEngineRoutingBuilder() { - + onChanged(); return getAppEngineRoutingFieldBuilder().getBuilder(); } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1212,14 +1118,11 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti if (appEngineRoutingBuilder_ != null) { return appEngineRoutingBuilder_.getMessageOrBuilder(); } else { - return appEngineRouting_ == null - ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? + com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1227,17 +1130,14 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineRouting, - com.google.cloud.scheduler.v1.AppEngineRouting.Builder, - com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> + com.google.cloud.scheduler.v1.AppEngineRouting, com.google.cloud.scheduler.v1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> getAppEngineRoutingFieldBuilder() { if (appEngineRoutingBuilder_ == null) { - appEngineRoutingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineRouting, - com.google.cloud.scheduler.v1.AppEngineRouting.Builder, - com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder>( - getAppEngineRouting(), getParentForChildren(), isClean()); + appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.AppEngineRouting, com.google.cloud.scheduler.v1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder>( + getAppEngineRouting(), + getParentForChildren(), + isClean()); appEngineRouting_ = null; } return appEngineRoutingBuilder_; @@ -1245,8 +1145,6 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti private java.lang.Object relativeUri_ = ""; /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1256,13 +1154,13 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1271,8 +1169,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1282,14 +1178,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1297,8 +1194,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1308,22 +1203,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1333,18 +1226,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1354,36 +1244,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1395,8 +1286,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1426,22 +1315,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1472,12 +1361,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1508,17 +1396,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1549,11 +1436,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1561,12 +1449,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1596,21 +1483,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1640,20 +1529,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1683,15 +1571,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1700,7 +1589,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1708,8 +1596,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1718,22 +1604,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1742,18 +1625,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1763,12 +1645,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.AppEngineHttpTarget) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.AppEngineHttpTarget) private static final com.google.cloud.scheduler.v1.AppEngineHttpTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.AppEngineHttpTarget(); } @@ -1777,16 +1659,16 @@ public static com.google.cloud.scheduler.v1.AppEngineHttpTarget getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1801,4 +1683,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.AppEngineHttpTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java similarity index 89% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java index 25d4a933..dc88efab 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java @@ -1,82 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface AppEngineHttpTargetOrBuilder - extends +public interface AppEngineHttpTargetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.AppEngineHttpTarget) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.scheduler.v1.HttpMethod getHttpMethod(); /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * App Engine Routing setting for the job.
    * 
@@ -86,8 +56,6 @@ public interface AppEngineHttpTargetOrBuilder com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder(); /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -97,13 +65,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -113,14 +78,12 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -152,8 +115,6 @@ public interface AppEngineHttpTargetOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -183,13 +144,15 @@ public interface AppEngineHttpTargetOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -219,10 +182,9 @@ public interface AppEngineHttpTargetOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -254,13 +216,11 @@ public interface AppEngineHttpTargetOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -290,11 +250,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -303,7 +263,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java similarity index 84% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java index c56abcc5..b4bb448b 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * App Engine Routing.
  * For more information about services, versions, and instances see
@@ -36,16 +19,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -55,15 +37,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,41 +65,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -124,33 +103,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.AppEngineRouting.class,
-            com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
+            com.google.cloud.scheduler.v1.AppEngineRouting.class, com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the job is sent to the service which is the default
@@ -158,7 +133,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -167,15 +141,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -183,15 +156,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -202,8 +176,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -211,7 +183,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -220,15 +191,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -236,15 +206,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -255,8 +226,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -272,7 +241,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -281,15 +249,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -305,15 +272,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -324,8 +292,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -371,7 +337,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -380,15 +345,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -434,15 +398,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -451,7 +416,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,7 +427,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -505,18 +470,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.AppEngineRouting other = - (com.google.cloud.scheduler.v1.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.scheduler.v1.AppEngineRouting other = (com.google.cloud.scheduler.v1.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -541,104 +509,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * For more information about services, versions, and instances see
@@ -654,23 +615,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.AppEngineRouting)
       com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.AppEngineRouting.class,
-              com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
+              com.google.cloud.scheduler.v1.AppEngineRouting.class, com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.AppEngineRouting.newBuilder()
@@ -678,15 +637,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -702,9 +662,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -723,8 +683,7 @@ public com.google.cloud.scheduler.v1.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.AppEngineRouting buildPartial() {
-      com.google.cloud.scheduler.v1.AppEngineRouting result =
-          new com.google.cloud.scheduler.v1.AppEngineRouting(this);
+      com.google.cloud.scheduler.v1.AppEngineRouting result = new com.google.cloud.scheduler.v1.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -737,39 +696,38 @@ public com.google.cloud.scheduler.v1.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -825,8 +783,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the job is sent to the service which is the default
@@ -834,13 +790,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -849,8 +805,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -858,14 +812,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -873,8 +828,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -882,22 +835,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -905,18 +856,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -924,16 +872,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -941,8 +889,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -950,13 +896,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -965,8 +911,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -974,14 +918,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -989,8 +934,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -998,22 +941,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -1021,18 +962,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -1040,16 +978,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1057,8 +995,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1074,13 +1010,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1089,8 +1025,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1106,14 +1040,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1121,8 +1056,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1138,22 +1071,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1169,18 +1100,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1196,16 +1124,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1213,8 +1141,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1260,13 +1186,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1275,8 +1201,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1322,14 +1246,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1337,8 +1262,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1384,22 +1307,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1445,18 +1366,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1502,23 +1420,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1528,12 +1446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.AppEngineRouting) private static final com.google.cloud.scheduler.v1.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.AppEngineRouting(); } @@ -1542,16 +1460,16 @@ public static com.google.cloud.scheduler.v1.AppEngineRouting getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1566,4 +1484,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java similarity index 90% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java index 3126f4da..da4e14bd 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -33,13 +15,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -47,14 +26,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -62,13 +39,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -76,14 +50,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -99,13 +71,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -121,14 +90,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -174,13 +141,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -226,8 +190,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java similarity index 71% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java index 08039de4..86ff7b18 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Request message for [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.CreateJobRequest} */ -public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.CreateJobRequest) CreateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private CreateJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); } - case 18: - { - com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = - input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } - - break; + job_ = input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,42 +86,35 @@ private CreateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.CreateJobRequest.class, - com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.CreateJobRequest.class, com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -150,32 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -186,8 +157,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1.Job job_; /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -197,7 +166,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -205,8 +173,6 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -216,7 +182,6 @@ public boolean hasJob() {
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -224,8 +189,6 @@ public com.google.cloud.scheduler.v1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -242,7 +205,6 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -254,7 +216,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -274,7 +237,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getJob());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -284,18 +248,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.CreateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1.CreateJobRequest other =
-        (com.google.cloud.scheduler.v1.CreateJobRequest) obj;
+    com.google.cloud.scheduler.v1.CreateJobRequest other = (com.google.cloud.scheduler.v1.CreateJobRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob().equals(other.getJob())) return false;
+      if (!getJob()
+          .equals(other.getJob())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -319,127 +284,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.scheduler.v1.CreateJobRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.scheduler.v1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.scheduler.v1.CreateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.CreateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.CreateJobRequest) com.google.cloud.scheduler.v1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.CreateJobRequest.class, - com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.CreateJobRequest.class, com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.CreateJobRequest.newBuilder() @@ -447,15 +403,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; } @java.lang.Override @@ -492,8 +449,7 @@ public com.google.cloud.scheduler.v1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.CreateJobRequest buildPartial() { - com.google.cloud.scheduler.v1.CreateJobRequest result = - new com.google.cloud.scheduler.v1.CreateJobRequest(this); + com.google.cloud.scheduler.v1.CreateJobRequest result = new com.google.cloud.scheduler.v1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -508,39 +464,38 @@ public com.google.cloud.scheduler.v1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.CreateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.CreateJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -587,23 +542,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -612,24 +563,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -637,70 +585,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -708,13 +643,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.scheduler.v1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder> - jobBuilder_; + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -723,17 +653,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -742,9 +668,7 @@ public boolean hasJob() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.scheduler.v1.Job getJob() { @@ -755,8 +679,6 @@ public com.google.cloud.scheduler.v1.Job getJob() { } } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -765,8 +687,7 @@ public com.google.cloud.scheduler.v1.Job getJob() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { @@ -782,8 +703,6 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -792,10 +711,10 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job value) {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -806,8 +725,6 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job.Builder builderForValue) return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -816,13 +733,13 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job.Builder builderForValue)
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -834,8 +751,6 @@ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -844,8 +759,7 @@ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -859,8 +773,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -869,17 +781,14 @@ public Builder clearJob() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -888,19 +797,17 @@ public com.google.cloud.scheduler.v1.Job.Builder getJobBuilder() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -909,28 +816,24 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder> + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -940,12 +843,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.CreateJobRequest) private static final com.google.cloud.scheduler.v1.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.CreateJobRequest(); } @@ -954,16 +857,16 @@ public static com.google.cloud.scheduler.v1.CreateJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -978,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java index cd4cebc9..b3055b13 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -66,13 +39,10 @@ public interface CreateJobRequestOrBuilder
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -82,13 +52,10 @@ public interface CreateJobRequestOrBuilder
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.scheduler.v1.Job getJob(); /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
similarity index 66%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
index 2adb16cc..30c63da3 100644
--- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
- *
- *
  * 
  * Request message for deleting a job using
  * [DeleteJob][google.cloud.scheduler.v1.CloudScheduler.DeleteJob].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.DeleteJobRequest}
  */
-public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteJobRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.DeleteJobRequest)
     DeleteJobRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteJobRequest.newBuilder() to construct.
   private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteJobRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.DeleteJobRequest.class,
-            com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1.DeleteJobRequest.class, com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.DeleteJobRequest other = - (com.google.cloud.scheduler.v1.DeleteJobRequest) obj; + com.google.cloud.scheduler.v1.DeleteJobRequest other = (com.google.cloud.scheduler.v1.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for deleting a job using
    * [DeleteJob][google.cloud.scheduler.v1.CloudScheduler.DeleteJob].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.DeleteJobRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.DeleteJobRequest)
       com.google.cloud.scheduler.v1.DeleteJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.DeleteJobRequest.class,
-              com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1.DeleteJobRequest.class, com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.DeleteJobRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.scheduler.v1.DeleteJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.DeleteJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1.DeleteJobRequest result =
-          new com.google.cloud.scheduler.v1.DeleteJobRequest(this);
+      com.google.cloud.scheduler.v1.DeleteJobRequest result = new com.google.cloud.scheduler.v1.DeleteJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.scheduler.v1.DeleteJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.DeleteJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1.DeleteJobRequest) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.DeleteJobRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -488,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.DeleteJobRequest) private static final com.google.cloud.scheduler.v1.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.DeleteJobRequest(); } @@ -632,16 +575,16 @@ public static com.google.cloud.scheduler.v1.DeleteJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java new file mode 100644 index 00000000..28a8ab20 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface DeleteJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java similarity index 66% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java index 2fee8fc9..97b88c0f 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Request message for [GetJob][google.cloud.scheduler.v1.CloudScheduler.GetJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.GetJobRequest.class, - com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1.GetJobRequest.class, com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.GetJobRequest other = - (com.google.cloud.scheduler.v1.GetJobRequest) obj; + com.google.cloud.scheduler.v1.GetJobRequest other = (com.google.cloud.scheduler.v1.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [GetJob][google.cloud.scheduler.v1.CloudScheduler.GetJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.GetJobRequest) com.google.cloud.scheduler.v1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.GetJobRequest.class, - com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1.GetJobRequest.class, com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.GetJobRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.scheduler.v1.GetJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.GetJobRequest buildPartial() { - com.google.cloud.scheduler.v1.GetJobRequest result = - new com.google.cloud.scheduler.v1.GetJobRequest(this); + com.google.cloud.scheduler.v1.GetJobRequest result = new com.google.cloud.scheduler.v1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.scheduler.v1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.GetJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.GetJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.GetJobRequest) private static final com.google.cloud.scheduler.v1.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.GetJobRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.scheduler.v1.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java new file mode 100644 index 00000000..b842392a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface GetJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java similarity index 69% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java index b40aa138..aab87d85 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * The HTTP method used to execute the job.
  * 
* * Protobuf enum {@code google.cloud.scheduler.v1.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.scheduler.v1.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.scheduler.v1.HttpMethod) } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java similarity index 76% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java index 5d54f1fb..f7ad5afb 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Http target. The job will be pushed to the job handler by means of
  * an HTTP request via an [http_method][google.cloud.scheduler.v1.HttpTarget.http_method] such as HTTP
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.HttpTarget}
  */
-public final class HttpTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.HttpTarget)
     HttpTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpTarget.newBuilder() to construct.
   private HttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpTarget() {
     uri_ = "";
     httpMethod_ = 0;
@@ -50,15 +32,16 @@ private HttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,82 +61,71 @@ private HttpTarget(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uri_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            uri_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.scheduler.v1.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.scheduler.v1.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.scheduler.v1.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.scheduler.v1.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.scheduler.v1.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_).toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.scheduler.v1.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -161,51 +133,47 @@ private HttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.HttpTarget.class,
-            com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1.HttpTarget.class, com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -221,31 +189,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URI_FIELD_NUMBER = 1;
   private volatile java.lang.Object uri_;
   /**
-   *
-   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -256,7 +219,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -265,15 +227,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -284,15 +245,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -303,57 +265,49 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = - com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.scheduler.v1.TargetProto - .internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -362,8 +316,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -383,22 +335,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -419,12 +371,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -445,16 +396,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -475,11 +426,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -489,8 +441,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -498,7 +448,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -508,8 +457,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -520,7 +467,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -528,8 +474,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -540,19 +484,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.scheduler.v1.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_; } return com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -567,15 +508,13 @@ public com.google.cloud.scheduler.v1.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -587,7 +526,6 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -595,8 +533,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -608,19 +544,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.scheduler.v1.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_; } return com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -636,13 +569,12 @@ public com.google.cloud.scheduler.v1.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_;
+       return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -654,16 +586,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
     }
-    if (httpMethod_
-        != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -685,32 +621,31 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
     }
-    if (httpMethod_
-        != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -720,24 +655,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.HttpTarget)) {
       return super.equals(obj);
     }
     com.google.cloud.scheduler.v1.HttpTarget other = (com.google.cloud.scheduler.v1.HttpTarget) obj;
 
-    if (!getUri().equals(other.getUri())) return false;
+    if (!getUri()
+        .equals(other.getUri())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -780,104 +720,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.scheduler.v1.HttpTarget parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.scheduler.v1.HttpTarget parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.scheduler.v1.HttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Http target. The job will be pushed to the job handler by means of
    * an HTTP request via an [http_method][google.cloud.scheduler.v1.HttpTarget.http_method] such as HTTP
@@ -889,43 +822,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.HttpTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.HttpTarget)
       com.google.cloud.scheduler.v1.HttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.HttpTarget.class,
-              com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1.HttpTarget.class, com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.HttpTarget.newBuilder()
@@ -933,15 +866,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -958,9 +892,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -979,8 +913,7 @@ public com.google.cloud.scheduler.v1.HttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.HttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1.HttpTarget result =
-          new com.google.cloud.scheduler.v1.HttpTarget(this);
+      com.google.cloud.scheduler.v1.HttpTarget result = new com.google.cloud.scheduler.v1.HttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.uri_ = uri_;
       result.httpMethod_ = httpMethod_;
@@ -1010,39 +943,38 @@ public com.google.cloud.scheduler.v1.HttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.HttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1.HttpTarget) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.HttpTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1058,25 +990,23 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.HttpTarget other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1106,12 +1036,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1125,8 +1055,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object uri_ = "";
     /**
-     *
-     *
      * 
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1137,13 +1065,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1152,8 +1080,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1164,14 +1090,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1179,8 +1106,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1191,22 +1116,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 1; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1217,18 +1140,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1239,16 +1159,16 @@ public Builder clearUri() {
      * 
* * string uri = 1; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -1256,65 +1176,51 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = - com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1322,44 +1228,42 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1371,8 +1275,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1392,22 +1294,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1428,12 +1330,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1454,17 +1355,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1485,11 +1385,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1497,12 +1398,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1522,21 +1422,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1556,20 +1458,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1589,15 +1490,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1605,7 +1507,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1613,8 +1514,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1622,22 +1521,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1645,24 +1541,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.OAuthToken, - com.google.cloud.scheduler.v1.OAuthToken.Builder, - com.google.cloud.scheduler.v1.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.scheduler.v1.OAuthToken, com.google.cloud.scheduler.v1.OAuthToken.Builder, com.google.cloud.scheduler.v1.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1673,7 +1563,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1681,8 +1570,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1693,7 +1580,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1711,8 +1597,6 @@ public com.google.cloud.scheduler.v1.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1738,8 +1622,6 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1751,7 +1633,8 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
      *
      * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(
+        com.google.cloud.scheduler.v1.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1762,8 +1645,6 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1777,14 +1658,10 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken.Builder bu
      */
     public Builder mergeOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_
-                != com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.scheduler.v1.OAuthToken.newBuilder(
-                      (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.scheduler.v1.OAuthToken.newBuilder((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1800,8 +1677,6 @@ public Builder mergeOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1830,8 +1705,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1847,8 +1720,6 @@ public com.google.cloud.scheduler.v1.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1872,8 +1743,6 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1886,38 +1755,27 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
      * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1.OAuthToken,
-            com.google.cloud.scheduler.v1.OAuthToken.Builder,
-            com.google.cloud.scheduler.v1.OAuthTokenOrBuilder>
+        com.google.cloud.scheduler.v1.OAuthToken, com.google.cloud.scheduler.v1.OAuthToken.Builder, com.google.cloud.scheduler.v1.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.scheduler.v1.OAuthToken,
-                com.google.cloud.scheduler.v1.OAuthToken.Builder,
-                com.google.cloud.scheduler.v1.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.scheduler.v1.OAuthToken, com.google.cloud.scheduler.v1.OAuthToken.Builder, com.google.cloud.scheduler.v1.OAuthTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1.OidcToken,
-            com.google.cloud.scheduler.v1.OidcToken.Builder,
-            com.google.cloud.scheduler.v1.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.scheduler.v1.OidcToken, com.google.cloud.scheduler.v1.OidcToken.Builder, com.google.cloud.scheduler.v1.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1929,7 +1787,6 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
      * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1937,8 +1794,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1950,7 +1805,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -1968,8 +1822,6 @@ public com.google.cloud.scheduler.v1.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1996,8 +1848,6 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2010,7 +1860,8 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
      *
      * .google.cloud.scheduler.v1.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(
+        com.google.cloud.scheduler.v1.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -2021,8 +1872,6 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2037,14 +1886,10 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken.Builder buil
      */
     public Builder mergeOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_
-                != com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.scheduler.v1.OidcToken.newBuilder(
-                      (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.scheduler.v1.OidcToken.newBuilder((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2060,8 +1905,6 @@ public Builder mergeOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2091,8 +1934,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2109,8 +1950,6 @@ public com.google.cloud.scheduler.v1.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2135,8 +1974,6 @@ public com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2150,32 +1987,26 @@ public com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.scheduler.v1.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1.OidcToken,
-            com.google.cloud.scheduler.v1.OidcToken.Builder,
-            com.google.cloud.scheduler.v1.OidcTokenOrBuilder>
+        com.google.cloud.scheduler.v1.OidcToken, com.google.cloud.scheduler.v1.OidcToken.Builder, com.google.cloud.scheduler.v1.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.scheduler.v1.OidcToken,
-                com.google.cloud.scheduler.v1.OidcToken.Builder,
-                com.google.cloud.scheduler.v1.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.scheduler.v1.OidcToken, com.google.cloud.scheduler.v1.OidcToken.Builder, com.google.cloud.scheduler.v1.OidcTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2185,12 +2016,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.HttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.HttpTarget)
   private static final com.google.cloud.scheduler.v1.HttpTarget DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.HttpTarget();
   }
@@ -2199,16 +2030,16 @@ public static com.google.cloud.scheduler.v1.HttpTarget getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpTarget parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpTarget(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpTarget parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpTarget(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2223,4 +2054,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1.HttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
similarity index 88%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
index 4dabdf0b..e0040b8a 100644
--- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/target.proto
 
 package com.google.cloud.scheduler.v1;
 
-public interface HttpTargetOrBuilder
-    extends
+public interface HttpTargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.HttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -36,13 +18,10 @@ public interface HttpTargetOrBuilder
    * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -53,39 +32,31 @@ public interface HttpTargetOrBuilder
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.scheduler.v1.HttpMethod getHttpMethod(); /** - * - * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -107,8 +78,6 @@ public interface HttpTargetOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -128,13 +97,15 @@ public interface HttpTargetOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -154,10 +125,9 @@ public interface HttpTargetOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -179,13 +149,11 @@ public interface HttpTargetOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -205,11 +173,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -217,14 +185,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -235,13 +200,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,13 +214,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.scheduler.v1.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,8 +232,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -286,13 +243,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -304,13 +258,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.scheduler.v1.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -325,6 +276,5 @@ java.lang.String getHeadersOrDefault(
    */
   com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.scheduler.v1.HttpTarget.AuthorizationHeaderCase
-      getAuthorizationHeaderCase();
+  public com.google.cloud.scheduler.v1.HttpTarget.AuthorizationHeaderCase getAuthorizationHeaderCase();
 }
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
similarity index 78%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
index e76ee5f9..87628f66 100644
--- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/job.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
- *
- *
  * 
  * Configuration for a job.
  * The maximum allowed size for a job is 100KB.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.Job}
  */
-public final class Job extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Job extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.Job)
     JobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Job() {
     name_ = "";
     description_ = "";
@@ -48,15 +30,16 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Job(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,188 +58,163 @@ private Job(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            com.google.cloud.scheduler.v1.PubsubTarget.Builder subBuilder = null;
+            if (targetCase_ == 4) {
+              subBuilder = ((com.google.cloud.scheduler.v1.PubsubTarget) target_).toBuilder();
             }
-          case 34:
-            {
-              com.google.cloud.scheduler.v1.PubsubTarget.Builder subBuilder = null;
-              if (targetCase_ == 4) {
-                subBuilder = ((com.google.cloud.scheduler.v1.PubsubTarget) target_).toBuilder();
-              }
-              target_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1.PubsubTarget.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget) target_);
-                target_ = subBuilder.buildPartial();
-              }
-              targetCase_ = 4;
-              break;
+            target_ =
+                input.readMessage(com.google.cloud.scheduler.v1.PubsubTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget) target_);
+              target_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder subBuilder = null;
-              if (targetCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_).toBuilder();
-              }
-              target_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1.AppEngineHttpTarget.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
-                target_ = subBuilder.buildPartial();
-              }
-              targetCase_ = 5;
-              break;
+            targetCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder subBuilder = null;
+            if (targetCase_ == 5) {
+              subBuilder = ((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.scheduler.v1.HttpTarget.Builder subBuilder = null;
-              if (targetCase_ == 6) {
-                subBuilder = ((com.google.cloud.scheduler.v1.HttpTarget) target_).toBuilder();
-              }
-              target_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1.HttpTarget.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.scheduler.v1.HttpTarget) target_);
-                target_ = subBuilder.buildPartial();
-              }
-              targetCase_ = 6;
-              break;
+            target_ =
+                input.readMessage(com.google.cloud.scheduler.v1.AppEngineHttpTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
+              target_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (userUpdateTime_ != null) {
-                subBuilder = userUpdateTime_.toBuilder();
-              }
-              userUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(userUpdateTime_);
-                userUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.scheduler.v1.HttpTarget.Builder subBuilder = null;
+            if (targetCase_ == 6) {
+              subBuilder = ((com.google.cloud.scheduler.v1.HttpTarget) target_).toBuilder();
             }
-          case 80:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
+            target_ =
+                input.readMessage(com.google.cloud.scheduler.v1.HttpTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.HttpTarget) target_);
+              target_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (status_ != null) {
-                subBuilder = status_.toBuilder();
-              }
-              status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(status_);
-                status_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetCase_ = 6;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (userUpdateTime_ != null) {
+              subBuilder = userUpdateTime_.toBuilder();
             }
-          case 138:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            userUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(userUpdateTime_);
+              userUpdateTime_ = subBuilder.buildPartial();
             }
-          case 146:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastAttemptTime_ != null) {
-                subBuilder = lastAttemptTime_.toBuilder();
-              }
-              lastAttemptTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastAttemptTime_);
-                lastAttemptTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 80: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 90: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (status_ != null) {
+              subBuilder = status_.toBuilder();
+            }
+            status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(status_);
+              status_ = subBuilder.buildPartial();
             }
-          case 154:
-            {
-              com.google.cloud.scheduler.v1.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 138: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
+            }
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 162:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              schedule_ = s;
-              break;
+            break;
+          }
+          case 146: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastAttemptTime_ != null) {
+              subBuilder = lastAttemptTime_.toBuilder();
+            }
+            lastAttemptTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastAttemptTime_);
+              lastAttemptTime_ = subBuilder.buildPartial();
             }
-          case 170:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              timeZone_ = s;
-              break;
+            break;
+          }
+          case 154: {
+            com.google.cloud.scheduler.v1.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
+            }
+            retryConfig_ = input.readMessage(com.google.cloud.scheduler.v1.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
             }
-          case 178:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (attemptDeadline_ != null) {
-                subBuilder = attemptDeadline_.toBuilder();
-              }
-              attemptDeadline_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(attemptDeadline_);
-                attemptDeadline_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 162: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            schedule_ = s;
+            break;
+          }
+          case 170: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            timeZone_ = s;
+            break;
+          }
+          case 178: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (attemptDeadline_ != null) {
+              subBuilder = attemptDeadline_.toBuilder();
+            }
+            attemptDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(attemptDeadline_);
+              attemptDeadline_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -264,41 +222,36 @@ private Job(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.JobProto
-        .internal_static_google_cloud_scheduler_v1_Job_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.JobProto
-        .internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.Job.class,
-            com.google.cloud.scheduler.v1.Job.Builder.class);
+            com.google.cloud.scheduler.v1.Job.class, com.google.cloud.scheduler.v1.Job.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the job.
    * 
* * Protobuf enum {@code google.cloud.scheduler.v1.Job.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -307,8 +260,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The job is executing normally.
      * 
@@ -317,8 +268,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ENABLED(1), /** - * - * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -329,8 +278,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -340,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DISABLED(3),
     /**
-     *
-     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -355,8 +300,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -365,8 +308,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job is executing normally.
      * 
@@ -375,8 +316,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENABLED_VALUE = 1; /** - * - * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -387,8 +326,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -398,8 +335,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -410,6 +345,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UPDATE_FAILED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -434,53 +370,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return ENABLED;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        case 4:
-          return UPDATE_FAILED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return ENABLED;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        case 4: return UPDATE_FAILED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.scheduler.v1.Job.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -499,17 +433,14 @@ private State(int value) {
 
   private int targetCase_ = 0;
   private java.lang.Object target_;
-
   public enum TargetCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     PUBSUB_TARGET(4),
     APP_ENGINE_HTTP_TARGET(5),
     HTTP_TARGET(6),
     TARGET_NOT_SET(0);
     private final int value;
-
     private TargetCase(int value) {
       this.value = value;
     }
@@ -525,33 +456,27 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return PUBSUB_TARGET;
-        case 5:
-          return APP_ENGINE_HTTP_TARGET;
-        case 6:
-          return HTTP_TARGET;
-        case 0:
-          return TARGET_NOT_SET;
-        default:
-          return null;
+        case 4: return PUBSUB_TARGET;
+        case 5: return APP_ENGINE_HTTP_TARGET;
+        case 6: return HTTP_TARGET;
+        case 0: return TARGET_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase getTargetCase() {
-    return TargetCase.forNumber(targetCase_);
+  public TargetCase
+  getTargetCase() {
+    return TargetCase.forNumber(
+        targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -571,7 +496,6 @@ public TargetCase getTargetCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -580,15 +504,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -608,15 +531,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -627,8 +551,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -637,7 +559,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -646,15 +567,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -663,15 +583,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -681,14 +602,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int PUBSUB_TARGET_FIELD_NUMBER = 4; /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; - * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -696,26 +614,21 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; - * * @return The pubsubTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance(); } /** - * - * *
    * Pub/Sub target.
    * 
@@ -725,21 +638,18 @@ public com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget() { @java.lang.Override public com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuilder() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance(); } public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 5; /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -747,26 +657,21 @@ public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP target.
    * 
@@ -774,24 +679,20 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget( * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder - getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance(); } public static final int HTTP_TARGET_FIELD_NUMBER = 6; /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; - * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -799,26 +700,21 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; - * * @return The httpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1.HttpTarget getHttpTarget() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1.HttpTarget) target_; } return com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance(); } /** - * - * *
    * HTTP target.
    * 
@@ -828,7 +724,7 @@ public com.google.cloud.scheduler.v1.HttpTarget getHttpTarget() { @java.lang.Override public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1.HttpTarget) target_; } return com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance(); } @@ -836,8 +732,6 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder( public static final int SCHEDULE_FIELD_NUMBER = 20; private volatile java.lang.Object schedule_; /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -860,7 +754,6 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder(
    * 
* * string schedule = 20; - * * @return The schedule. */ @java.lang.Override @@ -869,15 +762,14 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -900,15 +792,16 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 20; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -919,8 +812,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { public static final int TIME_ZONE_FIELD_NUMBER = 21; private volatile java.lang.Object timeZone_; /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -933,7 +824,6 @@ public com.google.protobuf.ByteString getScheduleBytes() {
    * 
* * string time_zone = 21; - * * @return The timeZone. */ @java.lang.Override @@ -942,15 +832,14 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -963,15 +852,16 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 21; - * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -982,14 +872,11 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { public static final int USER_UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp userUpdateTime_; /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return Whether the userUpdateTime field is set. */ @java.lang.Override @@ -997,25 +884,18 @@ public boolean hasUserUpdateTime() { return userUpdateTime_ != null; } /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return The userUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUserUpdateTime() { - return userUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : userUpdateTime_; + return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; } /** - * - * *
    * Output only. The creation time of the job.
    * 
@@ -1030,50 +910,38 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_; /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.scheduler.v1.Job.State getState() { + @java.lang.Override public com.google.cloud.scheduler.v1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.Job.State result = - com.google.cloud.scheduler.v1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1.Job.State result = com.google.cloud.scheduler.v1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1.Job.State.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 11; private com.google.rpc.Status status_; /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return Whether the status field is set. */ @java.lang.Override @@ -1081,14 +949,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return The status. */ @java.lang.Override @@ -1096,8 +961,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -1112,8 +975,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 17; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1121,7 +982,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -1129,8 +989,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1138,18 +996,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1166,14 +1019,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int LAST_ATTEMPT_TIME_FIELD_NUMBER = 18;
   private com.google.protobuf.Timestamp lastAttemptTime_;
   /**
-   *
-   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return Whether the lastAttemptTime field is set. */ @java.lang.Override @@ -1181,25 +1031,18 @@ public boolean hasLastAttemptTime() { return lastAttemptTime_ != null; } /** - * - * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return The lastAttemptTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastAttemptTime() { - return lastAttemptTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastAttemptTime_; + return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; } /** - * - * *
    * Output only. The time the last job attempt started.
    * 
@@ -1214,14 +1057,11 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { public static final int RETRY_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.scheduler.v1.RetryConfig retryConfig_; /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -1229,25 +1069,18 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.scheduler.v1.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * 
@@ -1262,8 +1095,6 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde public static final int ATTEMPT_DEADLINE_FIELD_NUMBER = 22; private com.google.protobuf.Duration attemptDeadline_; /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1277,7 +1108,6 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return Whether the attemptDeadline field is set. */ @java.lang.Override @@ -1285,8 +1115,6 @@ public boolean hasAttemptDeadline() { return attemptDeadline_ != null; } /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1300,18 +1128,13 @@ public boolean hasAttemptDeadline() {
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return The attemptDeadline. */ @java.lang.Override public com.google.protobuf.Duration getAttemptDeadline() { - return attemptDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : attemptDeadline_; + return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; } /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1332,7 +1155,6 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1344,7 +1166,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1403,37 +1226,40 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
     }
     if (targetCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.cloud.scheduler.v1.PubsubTarget) target_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.cloud.scheduler.v1.PubsubTarget) target_);
     }
     if (targetCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
     }
     if (targetCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.scheduler.v1.HttpTarget) target_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.scheduler.v1.HttpTarget) target_);
     }
     if (userUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUserUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getUserUpdateTime());
     }
     if (state_ != com.google.cloud.scheduler.v1.Job.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(10, state_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, getStatus());
     }
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(17, getScheduleTime());
     }
     if (lastAttemptTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLastAttemptTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(18, getLastAttemptTime());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(19, getRetryConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, schedule_);
@@ -1442,7 +1268,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, timeZone_);
     }
     if (attemptDeadline_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getAttemptDeadline());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(22, getAttemptDeadline());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1452,52 +1279,65 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.Job)) {
       return super.equals(obj);
     }
     com.google.cloud.scheduler.v1.Job other = (com.google.cloud.scheduler.v1.Job) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
-    if (!getSchedule().equals(other.getSchedule())) return false;
-    if (!getTimeZone().equals(other.getTimeZone())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) return false;
+    if (!getSchedule()
+        .equals(other.getSchedule())) return false;
+    if (!getTimeZone()
+        .equals(other.getTimeZone())) return false;
     if (hasUserUpdateTime() != other.hasUserUpdateTime()) return false;
     if (hasUserUpdateTime()) {
-      if (!getUserUpdateTime().equals(other.getUserUpdateTime())) return false;
+      if (!getUserUpdateTime()
+          .equals(other.getUserUpdateTime())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasLastAttemptTime() != other.hasLastAttemptTime()) return false;
     if (hasLastAttemptTime()) {
-      if (!getLastAttemptTime().equals(other.getLastAttemptTime())) return false;
+      if (!getLastAttemptTime()
+          .equals(other.getLastAttemptTime())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig()
+          .equals(other.getRetryConfig())) return false;
     }
     if (hasAttemptDeadline() != other.hasAttemptDeadline()) return false;
     if (hasAttemptDeadline()) {
-      if (!getAttemptDeadline().equals(other.getAttemptDeadline())) return false;
+      if (!getAttemptDeadline()
+          .equals(other.getAttemptDeadline())) return false;
     }
     if (!getTargetCase().equals(other.getTargetCase())) return false;
     switch (targetCase_) {
       case 4:
-        if (!getPubsubTarget().equals(other.getPubsubTarget())) return false;
+        if (!getPubsubTarget()
+            .equals(other.getPubsubTarget())) return false;
         break;
       case 5:
-        if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false;
+        if (!getAppEngineHttpTarget()
+            .equals(other.getAppEngineHttpTarget())) return false;
         break;
       case 6:
-        if (!getHttpTarget().equals(other.getHttpTarget())) return false;
+        if (!getHttpTarget()
+            .equals(other.getHttpTarget())) return false;
         break;
       case 0:
       default:
@@ -1568,103 +1408,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.Job parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.Job parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.scheduler.v1.Job parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.scheduler.v1.Job parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.Job parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.scheduler.v1.Job prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration for a job.
    * The maximum allowed size for a job is 100KB.
@@ -1672,23 +1506,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.Job}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.Job)
       com.google.cloud.scheduler.v1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.JobProto
-          .internal_static_google_cloud_scheduler_v1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.JobProto
-          .internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.Job.class,
-              com.google.cloud.scheduler.v1.Job.Builder.class);
+              com.google.cloud.scheduler.v1.Job.class, com.google.cloud.scheduler.v1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.Job.newBuilder()
@@ -1696,15 +1528,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1760,9 +1593,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.JobProto
-          .internal_static_google_cloud_scheduler_v1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -1847,39 +1680,38 @@ public com.google.cloud.scheduler.v1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.Job) {
-        return mergeFrom((com.google.cloud.scheduler.v1.Job) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.Job)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1926,25 +1758,21 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.Job other) {
         mergeAttemptDeadline(other.getAttemptDeadline());
       }
       switch (other.getTargetCase()) {
-        case PUBSUB_TARGET:
-          {
-            mergePubsubTarget(other.getPubsubTarget());
-            break;
-          }
-        case APP_ENGINE_HTTP_TARGET:
-          {
-            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-            break;
-          }
-        case HTTP_TARGET:
-          {
-            mergeHttpTarget(other.getHttpTarget());
-            break;
-          }
-        case TARGET_NOT_SET:
-          {
-            break;
-          }
+        case PUBSUB_TARGET: {
+          mergePubsubTarget(other.getPubsubTarget());
+          break;
+        }
+        case APP_ENGINE_HTTP_TARGET: {
+          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+          break;
+        }
+        case HTTP_TARGET: {
+          mergeHttpTarget(other.getHttpTarget());
+          break;
+        }
+        case TARGET_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1974,12 +1802,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int targetCase_ = 0;
     private java.lang.Object target_;
-
-    public TargetCase getTargetCase() {
-      return TargetCase.forNumber(targetCase_);
+    public TargetCase
+        getTargetCase() {
+      return TargetCase.forNumber(
+          targetCase_);
     }
 
     public Builder clearTarget() {
@@ -1989,10 +1817,9 @@ public Builder clearTarget() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2012,13 +1839,13 @@ public Builder clearTarget() {
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2027,8 +1854,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2048,14 +1873,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2063,8 +1889,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2084,22 +1908,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2119,18 +1941,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2150,16 +1969,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2167,8 +1986,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2177,13 +1994,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2192,8 +2009,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2202,14 +2017,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2217,8 +2033,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2227,22 +2041,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2251,18 +2063,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2271,35 +2080,29 @@ public Builder clearDescription() {
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.PubsubTarget, - com.google.cloud.scheduler.v1.PubsubTarget.Builder, - com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> - pubsubTargetBuilder_; + com.google.cloud.scheduler.v1.PubsubTarget, com.google.cloud.scheduler.v1.PubsubTarget.Builder, com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> pubsubTargetBuilder_; /** - * - * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; - * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -2307,14 +2110,11 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** - * - * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; - * * @return The pubsubTarget. */ @java.lang.Override @@ -2332,8 +2132,6 @@ public com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget() { } } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2354,8 +2152,6 @@ public Builder setPubsubTarget(com.google.cloud.scheduler.v1.PubsubTarget value) return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2374,8 +2170,6 @@ public Builder setPubsubTarget( return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2384,13 +2178,10 @@ public Builder setPubsubTarget( */ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1.PubsubTarget value) { if (pubsubTargetBuilder_ == null) { - if (targetCase_ == 4 - && target_ != com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance()) { - target_ = - com.google.cloud.scheduler.v1.PubsubTarget.newBuilder( - (com.google.cloud.scheduler.v1.PubsubTarget) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 4 && + target_ != com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance()) { + target_ = com.google.cloud.scheduler.v1.PubsubTarget.newBuilder((com.google.cloud.scheduler.v1.PubsubTarget) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -2406,8 +2197,6 @@ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1.PubsubTarget valu return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2431,8 +2220,6 @@ public Builder clearPubsubTarget() { return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2443,8 +2230,6 @@ public com.google.cloud.scheduler.v1.PubsubTarget.Builder getPubsubTargetBuilder return getPubsubTargetFieldBuilder().getBuilder(); } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2463,8 +2248,6 @@ public com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuil } } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2472,59 +2255,44 @@ public com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuil * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.PubsubTarget, - com.google.cloud.scheduler.v1.PubsubTarget.Builder, - com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> + com.google.cloud.scheduler.v1.PubsubTarget, com.google.cloud.scheduler.v1.PubsubTarget.Builder, com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> getPubsubTargetFieldBuilder() { if (pubsubTargetBuilder_ == null) { if (!(targetCase_ == 4)) { target_ = com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance(); } - pubsubTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.PubsubTarget, - com.google.cloud.scheduler.v1.PubsubTarget.Builder, - com.google.cloud.scheduler.v1.PubsubTargetOrBuilder>( + pubsubTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.PubsubTarget, com.google.cloud.scheduler.v1.PubsubTarget.Builder, com.google.cloud.scheduler.v1.PubsubTargetOrBuilder>( (com.google.cloud.scheduler.v1.PubsubTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 4; - onChanged(); - ; + onChanged();; return pubsubTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineHttpTarget, - com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, - com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> - appEngineHttpTargetBuilder_; + com.google.cloud.scheduler.v1.AppEngineHttpTarget, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } - /** - * - * + /** *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -2542,8 +2310,6 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget( } } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2564,8 +2330,6 @@ public Builder setAppEngineHttpTarget(com.google.cloud.scheduler.v1.AppEngineHtt return this; } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2584,24 +2348,18 @@ public Builder setAppEngineHttpTarget( return this; } /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ - public Builder mergeAppEngineHttpTarget( - com.google.cloud.scheduler.v1.AppEngineHttpTarget value) { + public Builder mergeAppEngineHttpTarget(com.google.cloud.scheduler.v1.AppEngineHttpTarget value) { if (appEngineHttpTargetBuilder_ == null) { - if (targetCase_ == 5 - && target_ != com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance()) { - target_ = - com.google.cloud.scheduler.v1.AppEngineHttpTarget.newBuilder( - (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 5 && + target_ != com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance()) { + target_ = com.google.cloud.scheduler.v1.AppEngineHttpTarget.newBuilder((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -2617,8 +2375,6 @@ public Builder mergeAppEngineHttpTarget( return this; } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2642,21 +2398,16 @@ public Builder clearAppEngineHttpTarget() { return this; } /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ - public com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder - getAppEngineHttpTargetBuilder() { + public com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() { return getAppEngineHttpTargetFieldBuilder().getBuilder(); } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2664,8 +2415,7 @@ public Builder clearAppEngineHttpTarget() { * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder - getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { if ((targetCase_ == 5) && (appEngineHttpTargetBuilder_ != null)) { return appEngineHttpTargetBuilder_.getMessageOrBuilder(); } else { @@ -2676,8 +2426,6 @@ public Builder clearAppEngineHttpTarget() { } } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2685,44 +2433,32 @@ public Builder clearAppEngineHttpTarget() { * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineHttpTarget, - com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, - com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> + com.google.cloud.scheduler.v1.AppEngineHttpTarget, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> getAppEngineHttpTargetFieldBuilder() { if (appEngineHttpTargetBuilder_ == null) { if (!(targetCase_ == 5)) { target_ = com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance(); } - appEngineHttpTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineHttpTarget, - com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, - com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder>( + appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.AppEngineHttpTarget, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder>( (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 5; - onChanged(); - ; + onChanged();; return appEngineHttpTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.HttpTarget, - com.google.cloud.scheduler.v1.HttpTarget.Builder, - com.google.cloud.scheduler.v1.HttpTargetOrBuilder> - httpTargetBuilder_; + com.google.cloud.scheduler.v1.HttpTarget, com.google.cloud.scheduler.v1.HttpTarget.Builder, com.google.cloud.scheduler.v1.HttpTargetOrBuilder> httpTargetBuilder_; /** - * - * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; - * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -2730,14 +2466,11 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** - * - * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; - * * @return The httpTarget. */ @java.lang.Override @@ -2755,8 +2488,6 @@ public com.google.cloud.scheduler.v1.HttpTarget getHttpTarget() { } } /** - * - * *
      * HTTP target.
      * 
@@ -2777,15 +2508,14 @@ public Builder setHttpTarget(com.google.cloud.scheduler.v1.HttpTarget value) { return this; } /** - * - * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; */ - public Builder setHttpTarget(com.google.cloud.scheduler.v1.HttpTarget.Builder builderForValue) { + public Builder setHttpTarget( + com.google.cloud.scheduler.v1.HttpTarget.Builder builderForValue) { if (httpTargetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -2796,8 +2526,6 @@ public Builder setHttpTarget(com.google.cloud.scheduler.v1.HttpTarget.Builder bu return this; } /** - * - * *
      * HTTP target.
      * 
@@ -2806,13 +2534,10 @@ public Builder setHttpTarget(com.google.cloud.scheduler.v1.HttpTarget.Builder bu */ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1.HttpTarget value) { if (httpTargetBuilder_ == null) { - if (targetCase_ == 6 - && target_ != com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance()) { - target_ = - com.google.cloud.scheduler.v1.HttpTarget.newBuilder( - (com.google.cloud.scheduler.v1.HttpTarget) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 6 && + target_ != com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance()) { + target_ = com.google.cloud.scheduler.v1.HttpTarget.newBuilder((com.google.cloud.scheduler.v1.HttpTarget) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -2828,8 +2553,6 @@ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1.HttpTarget value) { return this; } /** - * - * *
      * HTTP target.
      * 
@@ -2853,8 +2576,6 @@ public Builder clearHttpTarget() { return this; } /** - * - * *
      * HTTP target.
      * 
@@ -2865,8 +2586,6 @@ public com.google.cloud.scheduler.v1.HttpTarget.Builder getHttpTargetBuilder() { return getHttpTargetFieldBuilder().getBuilder(); } /** - * - * *
      * HTTP target.
      * 
@@ -2885,8 +2604,6 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder( } } /** - * - * *
      * HTTP target.
      * 
@@ -2894,34 +2611,26 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder( * .google.cloud.scheduler.v1.HttpTarget http_target = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.HttpTarget, - com.google.cloud.scheduler.v1.HttpTarget.Builder, - com.google.cloud.scheduler.v1.HttpTargetOrBuilder> + com.google.cloud.scheduler.v1.HttpTarget, com.google.cloud.scheduler.v1.HttpTarget.Builder, com.google.cloud.scheduler.v1.HttpTargetOrBuilder> getHttpTargetFieldBuilder() { if (httpTargetBuilder_ == null) { if (!(targetCase_ == 6)) { target_ = com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance(); } - httpTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.HttpTarget, - com.google.cloud.scheduler.v1.HttpTarget.Builder, - com.google.cloud.scheduler.v1.HttpTargetOrBuilder>( + httpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.HttpTarget, com.google.cloud.scheduler.v1.HttpTarget.Builder, com.google.cloud.scheduler.v1.HttpTargetOrBuilder>( (com.google.cloud.scheduler.v1.HttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 6; - onChanged(); - ; + onChanged();; return httpTargetBuilder_; } private java.lang.Object schedule_ = ""; /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2944,13 +2653,13 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder(
      * 
* * string schedule = 20; - * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2959,8 +2668,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2983,14 +2690,15 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 20; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -2998,8 +2706,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -3022,22 +2728,20 @@ public com.google.protobuf.ByteString getScheduleBytes() {
      * 
* * string schedule = 20; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { + public Builder setSchedule( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schedule_ = value; onChanged(); return this; } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -3060,18 +2764,15 @@ public Builder setSchedule(java.lang.String value) {
      * 
* * string schedule = 20; - * * @return This builder for chaining. */ public Builder clearSchedule() { - + schedule_ = getDefaultInstance().getSchedule(); onChanged(); return this; } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -3094,16 +2795,16 @@ public Builder clearSchedule() {
      * 
* * string schedule = 20; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schedule_ = value; onChanged(); return this; @@ -3111,8 +2812,6 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) { private java.lang.Object timeZone_ = ""; /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -3125,13 +2824,13 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
      * 
* * string time_zone = 21; - * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -3140,8 +2839,6 @@ public java.lang.String getTimeZone() { } } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -3154,14 +2851,15 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 21; - * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -3169,8 +2867,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { } } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -3183,22 +2879,20 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
      * 
* * string time_zone = 21; - * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone(java.lang.String value) { + public Builder setTimeZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeZone_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -3211,18 +2905,15 @@ public Builder setTimeZone(java.lang.String value) {
      * 
* * string time_zone = 21; - * * @return This builder for chaining. */ public Builder clearTimeZone() { - + timeZone_ = getDefaultInstance().getTimeZone(); onChanged(); return this; } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -3235,16 +2926,16 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 21; - * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { + public Builder setTimeZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeZone_ = value; onChanged(); return this; @@ -3252,47 +2943,34 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp userUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - userUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> userUpdateTimeBuilder_; /** - * - * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return Whether the userUpdateTime field is set. */ public boolean hasUserUpdateTime() { return userUpdateTimeBuilder_ != null || userUpdateTime_ != null; } /** - * - * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return The userUpdateTime. */ public com.google.protobuf.Timestamp getUserUpdateTime() { if (userUpdateTimeBuilder_ == null) { - return userUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : userUpdateTime_; + return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; } else { return userUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3313,15 +2991,14 @@ public Builder setUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; */ - public Builder setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUserUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (userUpdateTimeBuilder_ == null) { userUpdateTime_ = builderForValue.build(); onChanged(); @@ -3332,8 +3009,6 @@ public Builder setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3344,9 +3019,7 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { if (userUpdateTimeBuilder_ == null) { if (userUpdateTime_ != null) { userUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(userUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(userUpdateTime_).mergeFrom(value).buildPartial(); } else { userUpdateTime_ = value; } @@ -3358,8 +3031,6 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3378,8 +3049,6 @@ public Builder clearUserUpdateTime() { return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3387,13 +3056,11 @@ public Builder clearUserUpdateTime() { * .google.protobuf.Timestamp user_update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUserUpdateTimeBuilder() { - + onChanged(); return getUserUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3404,14 +3071,11 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { if (userUpdateTimeBuilder_ != null) { return userUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return userUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : userUpdateTime_; + return userUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; } } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3419,17 +3083,14 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { * .google.protobuf.Timestamp user_update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUserUpdateTimeFieldBuilder() { if (userUpdateTimeBuilder_ == null) { - userUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUserUpdateTime(), getParentForChildren(), isClean()); + userUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUserUpdateTime(), + getParentForChildren(), + isClean()); userUpdateTime_ = null; } return userUpdateTimeBuilder_; @@ -3437,65 +3098,51 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @return The state. */ @java.lang.Override public com.google.cloud.scheduler.v1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.Job.State result = - com.google.cloud.scheduler.v1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1.Job.State result = com.google.cloud.scheduler.v1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1.Job.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3503,24 +3150,21 @@ public Builder setState(com.google.cloud.scheduler.v1.Job.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3528,31 +3172,24 @@ public Builder clearState() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -3563,8 +3200,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3585,15 +3220,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -3604,8 +3238,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3615,7 +3247,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -3627,8 +3260,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3647,8 +3278,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3656,13 +3285,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 11; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3673,12 +3300,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3686,14 +3312,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -3701,13 +3327,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3715,15 +3336,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3731,21 +3349,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3768,8 +3381,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3778,7 +3389,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 17;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -3789,8 +3401,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3803,9 +3413,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -3817,8 +3425,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3839,8 +3445,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3850,13 +3454,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3869,14 +3471,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3886,17 +3485,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -3904,47 +3500,34 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp lastAttemptTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        lastAttemptTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastAttemptTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return Whether the lastAttemptTime field is set. */ public boolean hasLastAttemptTime() { return lastAttemptTimeBuilder_ != null || lastAttemptTime_ != null; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return The lastAttemptTime. */ public com.google.protobuf.Timestamp getLastAttemptTime() { if (lastAttemptTimeBuilder_ == null) { - return lastAttemptTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastAttemptTime_; + return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; } else { return lastAttemptTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -3965,15 +3548,14 @@ public Builder setLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; */ - public Builder setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastAttemptTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastAttemptTimeBuilder_ == null) { lastAttemptTime_ = builderForValue.build(); onChanged(); @@ -3984,8 +3566,6 @@ public Builder setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -3996,9 +3576,7 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { if (lastAttemptTimeBuilder_ == null) { if (lastAttemptTime_ != null) { lastAttemptTime_ = - com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_).mergeFrom(value).buildPartial(); } else { lastAttemptTime_ = value; } @@ -4010,8 +3588,6 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4030,8 +3606,6 @@ public Builder clearLastAttemptTime() { return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4039,13 +3613,11 @@ public Builder clearLastAttemptTime() { * .google.protobuf.Timestamp last_attempt_time = 18; */ public com.google.protobuf.Timestamp.Builder getLastAttemptTimeBuilder() { - + onChanged(); return getLastAttemptTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4056,14 +3628,11 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { if (lastAttemptTimeBuilder_ != null) { return lastAttemptTimeBuilder_.getMessageOrBuilder(); } else { - return lastAttemptTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastAttemptTime_; + return lastAttemptTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; } } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4071,17 +3640,14 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { * .google.protobuf.Timestamp last_attempt_time = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastAttemptTimeFieldBuilder() { if (lastAttemptTimeBuilder_ == null) { - lastAttemptTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastAttemptTime(), getParentForChildren(), isClean()); + lastAttemptTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastAttemptTime(), + getParentForChildren(), + isClean()); lastAttemptTime_ = null; } return lastAttemptTimeBuilder_; @@ -4089,47 +3655,34 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { private com.google.cloud.scheduler.v1.RetryConfig retryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.RetryConfig, - com.google.cloud.scheduler.v1.RetryConfig.Builder, - com.google.cloud.scheduler.v1.RetryConfigOrBuilder> - retryConfigBuilder_; + com.google.cloud.scheduler.v1.RetryConfig, com.google.cloud.scheduler.v1.RetryConfig.Builder, com.google.cloud.scheduler.v1.RetryConfigOrBuilder> retryConfigBuilder_; /** - * - * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; - * * @return The retryConfig. */ public com.google.cloud.scheduler.v1.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4150,8 +3703,6 @@ public Builder setRetryConfig(com.google.cloud.scheduler.v1.RetryConfig value) { return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4170,8 +3721,6 @@ public Builder setRetryConfig( return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4182,9 +3731,7 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1.RetryConfig value) if (retryConfigBuilder_ == null) { if (retryConfig_ != null) { retryConfig_ = - com.google.cloud.scheduler.v1.RetryConfig.newBuilder(retryConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.scheduler.v1.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial(); } else { retryConfig_ = value; } @@ -4196,8 +3743,6 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1.RetryConfig value) return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4216,8 +3761,6 @@ public Builder clearRetryConfig() { return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4225,13 +3768,11 @@ public Builder clearRetryConfig() { * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; */ public com.google.cloud.scheduler.v1.RetryConfig.Builder getRetryConfigBuilder() { - + onChanged(); return getRetryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4242,14 +3783,11 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde if (retryConfigBuilder_ != null) { return retryConfigBuilder_.getMessageOrBuilder(); } else { - return retryConfig_ == null - ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? + com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() : retryConfig_; } } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4257,17 +3795,14 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.RetryConfig, - com.google.cloud.scheduler.v1.RetryConfig.Builder, - com.google.cloud.scheduler.v1.RetryConfigOrBuilder> + com.google.cloud.scheduler.v1.RetryConfig, com.google.cloud.scheduler.v1.RetryConfig.Builder, com.google.cloud.scheduler.v1.RetryConfigOrBuilder> getRetryConfigFieldBuilder() { if (retryConfigBuilder_ == null) { - retryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.RetryConfig, - com.google.cloud.scheduler.v1.RetryConfig.Builder, - com.google.cloud.scheduler.v1.RetryConfigOrBuilder>( - getRetryConfig(), getParentForChildren(), isClean()); + retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.RetryConfig, com.google.cloud.scheduler.v1.RetryConfig.Builder, com.google.cloud.scheduler.v1.RetryConfigOrBuilder>( + getRetryConfig(), + getParentForChildren(), + isClean()); retryConfig_ = null; } return retryConfigBuilder_; @@ -4275,13 +3810,8 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde private com.google.protobuf.Duration attemptDeadline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - attemptDeadlineBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> attemptDeadlineBuilder_; /** - * - * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4295,15 +3825,12 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde
      * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return Whether the attemptDeadline field is set. */ public boolean hasAttemptDeadline() { return attemptDeadlineBuilder_ != null || attemptDeadline_ != null; } /** - * - * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4317,21 +3844,16 @@ public boolean hasAttemptDeadline() {
      * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return The attemptDeadline. */ public com.google.protobuf.Duration getAttemptDeadline() { if (attemptDeadlineBuilder_ == null) { - return attemptDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : attemptDeadline_; + return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; } else { return attemptDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4360,8 +3882,6 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4376,7 +3896,8 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration attempt_deadline = 22;
      */
-    public Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAttemptDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (attemptDeadlineBuilder_ == null) {
         attemptDeadline_ = builderForValue.build();
         onChanged();
@@ -4387,8 +3908,6 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4407,9 +3926,7 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       if (attemptDeadlineBuilder_ == null) {
         if (attemptDeadline_ != null) {
           attemptDeadline_ =
-              com.google.protobuf.Duration.newBuilder(attemptDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(attemptDeadline_).mergeFrom(value).buildPartial();
         } else {
           attemptDeadline_ = value;
         }
@@ -4421,8 +3938,6 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4449,8 +3964,6 @@ public Builder clearAttemptDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4466,13 +3979,11 @@ public Builder clearAttemptDeadline() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     public com.google.protobuf.Duration.Builder getAttemptDeadlineBuilder() {
-
+      
       onChanged();
       return getAttemptDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4491,14 +4002,11 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
       if (attemptDeadlineBuilder_ != null) {
         return attemptDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return attemptDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : attemptDeadline_;
+        return attemptDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4514,24 +4022,21 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getAttemptDeadlineFieldBuilder() {
       if (attemptDeadlineBuilder_ == null) {
-        attemptDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getAttemptDeadline(), getParentForChildren(), isClean());
+        attemptDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getAttemptDeadline(),
+                getParentForChildren(),
+                isClean());
         attemptDeadline_ = null;
       }
       return attemptDeadlineBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4541,12 +4046,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.Job)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.Job)
   private static final com.google.cloud.scheduler.v1.Job DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.Job();
   }
@@ -4555,16 +4060,16 @@ public static com.google.cloud.scheduler.v1.Job getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Job parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Job(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Job parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Job(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4579,4 +4084,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1.Job getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java
similarity index 100%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
similarity index 92%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
index 88fd6299..6c6b3c7e 100644
--- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/job.proto
 
 package com.google.cloud.scheduler.v1;
 
-public interface JobOrBuilder
-    extends
+public interface JobOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.Job)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -45,13 +27,10 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -71,14 +50,12 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -87,13 +64,10 @@ public interface JobOrBuilder
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -102,38 +76,30 @@ public interface JobOrBuilder
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; - * * @return Whether the pubsubTarget field is set. */ boolean hasPubsubTarget(); /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; - * * @return The pubsubTarget. */ com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget(); /** - * - * *
    * Pub/Sub target.
    * 
@@ -143,32 +109,24 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuilder(); /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return The appEngineHttpTarget. */ com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * 
@@ -178,32 +136,24 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder(); /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; - * * @return Whether the httpTarget field is set. */ boolean hasHttpTarget(); /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; - * * @return The httpTarget. */ com.google.cloud.scheduler.v1.HttpTarget getHttpTarget(); /** - * - * *
    * HTTP target.
    * 
@@ -213,8 +163,6 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder(); /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -237,13 +185,10 @@ public interface JobOrBuilder
    * 
* * string schedule = 20; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -266,14 +211,12 @@ public interface JobOrBuilder
    * 
* * string schedule = 20; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -286,13 +229,10 @@ public interface JobOrBuilder
    * 
* * string time_zone = 21; - * * @return The timeZone. */ java.lang.String getTimeZone(); /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -305,38 +245,30 @@ public interface JobOrBuilder
    * 
* * string time_zone = 21; - * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString getTimeZoneBytes(); + com.google.protobuf.ByteString + getTimeZoneBytes(); /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return Whether the userUpdateTime field is set. */ boolean hasUserUpdateTime(); /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return The userUpdateTime. */ com.google.protobuf.Timestamp getUserUpdateTime(); /** - * - * *
    * Output only. The creation time of the job.
    * 
@@ -346,57 +278,43 @@ public interface JobOrBuilder com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder(); /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; - * * @return The state. */ com.google.cloud.scheduler.v1.Job.State getState(); /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -406,8 +324,6 @@ public interface JobOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -415,13 +331,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -429,13 +342,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -447,32 +357,24 @@ public interface JobOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return Whether the lastAttemptTime field is set. */ boolean hasLastAttemptTime(); /** - * - * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return The lastAttemptTime. */ com.google.protobuf.Timestamp getLastAttemptTime(); /** - * - * *
    * Output only. The time the last job attempt started.
    * 
@@ -482,32 +384,24 @@ public interface JobOrBuilder com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder(); /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; - * * @return The retryConfig. */ com.google.cloud.scheduler.v1.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * 
@@ -517,8 +411,6 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilder(); /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -532,13 +424,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return Whether the attemptDeadline field is set. */ boolean hasAttemptDeadline(); /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -552,13 +441,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return The attemptDeadline. */ com.google.protobuf.Duration getAttemptDeadline(); /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java
new file mode 100644
index 00000000..7cb5edbc
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java
@@ -0,0 +1,110 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/scheduler/v1/job.proto
+
+package com.google.cloud.scheduler.v1;
+
+public final class JobProto {
+  private JobProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_scheduler_v1_Job_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n#google/cloud/scheduler/v1/job.proto\022\031g" +
+      "oogle.cloud.scheduler.v1\032\031google/api/res" +
+      "ource.proto\032&google/cloud/scheduler/v1/t" +
+      "arget.proto\032\036google/protobuf/duration.pr" +
+      "oto\032\037google/protobuf/timestamp.proto\032\027go" +
+      "ogle/rpc/status.proto\032\034google/api/annota" +
+      "tions.proto\"\313\006\n\003Job\022\014\n\004name\030\001 \001(\t\022\023\n\013des" +
+      "cription\030\002 \001(\t\022@\n\rpubsub_target\030\004 \001(\0132\'." +
+      "google.cloud.scheduler.v1.PubsubTargetH\000" +
+      "\022P\n\026app_engine_http_target\030\005 \001(\0132..googl" +
+      "e.cloud.scheduler.v1.AppEngineHttpTarget" +
+      "H\000\022<\n\013http_target\030\006 \001(\0132%.google.cloud.s" +
+      "cheduler.v1.HttpTargetH\000\022\020\n\010schedule\030\024 \001" +
+      "(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_update_tim" +
+      "e\030\t \001(\0132\032.google.protobuf.Timestamp\0223\n\005s" +
+      "tate\030\n \001(\0162$.google.cloud.scheduler.v1.J" +
+      "ob.State\022\"\n\006status\030\013 \001(\0132\022.google.rpc.St" +
+      "atus\0221\n\rschedule_time\030\021 \001(\0132\032.google.pro" +
+      "tobuf.Timestamp\0225\n\021last_attempt_time\030\022 \001" +
+      "(\0132\032.google.protobuf.Timestamp\022<\n\014retry_" +
+      "config\030\023 \001(\0132&.google.cloud.scheduler.v1" +
+      ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" +
+      ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" +
+      "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" +
+      "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" +
+      "\n!cloudscheduler.googleapis.com/Job\0222pro" +
+      "jects/{project}/locations/{location}/job" +
+      "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" +
+      "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" +
+      "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" +
+      "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" +
+      "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" +
+      "oogle.protobuf.Duration\022\025\n\rmax_doublings" +
+      "\030\005 \001(\005Bo\n\035com.google.cloud.scheduler.v1B" +
+      "\010JobProtoP\001ZBgoogle.golang.org/genproto/" +
+      "googleapis/cloud/scheduler/v1;schedulerb" +
+      "\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.scheduler.v1.TargetProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.rpc.StatusProto.getDescriptor(),
+          com.google.api.AnnotationsProto.getDescriptor(),
+        });
+    internal_static_google_cloud_scheduler_v1_Job_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_scheduler_v1_Job_descriptor,
+        new java.lang.String[] { "Name", "Description", "PubsubTarget", "AppEngineHttpTarget", "HttpTarget", "Schedule", "TimeZone", "UserUpdateTime", "State", "Status", "ScheduleTime", "LastAttemptTime", "RetryConfig", "AttemptDeadline", "Target", });
+    internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor,
+        new java.lang.String[] { "RetryCount", "MaxRetryDuration", "MinBackoffDuration", "MaxBackoffDuration", "MaxDoublings", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.scheduler.v1.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
similarity index 73%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
index c13d4ac3..d1fd8c00 100644
--- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
- *
- *
  * 
  * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsRequest} */ -public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.ListJobsRequest) ListJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListJobsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 40: - { - pageSize_ = input.readInt32(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 40: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,42 +85,35 @@ private ListJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsRequest.class, - com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1.ListJobsRequest.class, com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -148,32 +122,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -195,7 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -206,8 +175,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -219,7 +186,6 @@ public int getPageSize() {
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -228,15 +194,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -248,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -265,7 +231,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +242,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -300,7 +266,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -313,17 +280,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.ListJobsRequest other = - (com.google.cloud.scheduler.v1.ListJobsRequest) obj; + com.google.cloud.scheduler.v1.ListJobsRequest other = (com.google.cloud.scheduler.v1.ListJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -346,127 +315,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.ListJobsRequest) com.google.cloud.scheduler.v1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsRequest.class, - com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1.ListJobsRequest.class, com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.ListJobsRequest.newBuilder() @@ -474,15 +434,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +457,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; } @java.lang.Override @@ -517,8 +478,7 @@ public com.google.cloud.scheduler.v1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.ListJobsRequest buildPartial() { - com.google.cloud.scheduler.v1.ListJobsRequest result = - new com.google.cloud.scheduler.v1.ListJobsRequest(this); + com.google.cloud.scheduler.v1.ListJobsRequest result = new com.google.cloud.scheduler.v1.ListJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -530,39 +490,38 @@ public com.google.cloud.scheduler.v1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.ListJobsRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.ListJobsRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -613,23 +572,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -638,24 +593,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -663,79 +615,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -745,7 +682,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -753,8 +689,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -764,19 +698,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -786,11 +717,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -798,8 +728,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -811,13 +739,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -826,8 +754,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -839,14 +765,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -854,8 +781,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -867,22 +792,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 6; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -894,18 +817,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -917,23 +837,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -943,12 +863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.ListJobsRequest) private static final com.google.cloud.scheduler.v1.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.ListJobsRequest(); } @@ -957,16 +877,16 @@ public static com.google.cloud.scheduler.v1.ListJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java index 35c6769d..5458b9b0 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -66,14 +39,11 @@ public interface ListJobsRequestOrBuilder
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -85,13 +55,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -103,8 +70,8 @@ public interface ListJobsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java similarity index 75% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java index 5c9b83b1..035a462e 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,30 +55,28 @@ private ListJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - jobs_.add( - input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobs_.add( + input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -103,7 +84,8 @@ private ListJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -112,27 +94,22 @@ private ListJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsResponse.class, - com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1.ListJobsResponse.class, com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * The list of jobs.
    * 
@@ -144,8 +121,6 @@ public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * The list of jobs.
    * 
@@ -153,13 +128,11 @@ public java.util.List getJobsList() { * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * The list of jobs.
    * 
@@ -171,8 +144,6 @@ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * The list of jobs.
    * 
@@ -184,8 +155,6 @@ public com.google.cloud.scheduler.v1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * The list of jobs.
    * 
@@ -193,15 +162,14 @@ public com.google.cloud.scheduler.v1.Job getJobs(int index) { * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -212,7 +180,6 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index) {
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -240,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -257,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -286,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -299,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.ListJobsResponse)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.ListJobsResponse other = - (com.google.cloud.scheduler.v1.ListJobsResponse) obj; + com.google.cloud.scheduler.v1.ListJobsResponse other = (com.google.cloud.scheduler.v1.ListJobsResponse) obj; - if (!getJobsList().equals(other.getJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -331,127 +300,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.ListJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.ListJobsResponse) com.google.cloud.scheduler.v1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsResponse.class, - com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1.ListJobsResponse.class, com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.scheduler.v1.ListJobsResponse.newBuilder() @@ -459,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; } @java.lang.Override @@ -506,8 +466,7 @@ public com.google.cloud.scheduler.v1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.scheduler.v1.ListJobsResponse buildPartial() { - com.google.cloud.scheduler.v1.ListJobsResponse result = - new com.google.cloud.scheduler.v1.ListJobsResponse(this); + com.google.cloud.scheduler.v1.ListJobsResponse result = new com.google.cloud.scheduler.v1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,39 +486,38 @@ public com.google.cloud.scheduler.v1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.ListJobsResponse) { - return mergeFrom((com.google.cloud.scheduler.v1.ListJobsResponse) other); + return mergeFrom((com.google.cloud.scheduler.v1.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -586,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.ListJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -627,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * The list of jobs.
      * 
@@ -663,8 +613,6 @@ public java.util.List getJobsList() { } } /** - * - * *
      * The list of jobs.
      * 
@@ -679,8 +627,6 @@ public int getJobsCount() { } } /** - * - * *
      * The list of jobs.
      * 
@@ -695,15 +641,14 @@ public com.google.cloud.scheduler.v1.Job getJobs(int index) { } } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.scheduler.v1.Job value) { + public Builder setJobs( + int index, com.google.cloud.scheduler.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,15 +662,14 @@ public Builder setJobs(int index, com.google.cloud.scheduler.v1.Job value) { return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -736,8 +680,6 @@ public Builder setJobs(int index, com.google.cloud.scheduler.v1.Job.Builder buil return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -758,15 +700,14 @@ public Builder addJobs(com.google.cloud.scheduler.v1.Job value) { return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.scheduler.v1.Job value) { + public Builder addJobs( + int index, com.google.cloud.scheduler.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -780,15 +721,14 @@ public Builder addJobs(int index, com.google.cloud.scheduler.v1.Job value) { return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder addJobs(com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -799,15 +739,14 @@ public Builder addJobs(com.google.cloud.scheduler.v1.Job.Builder builderForValue return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -818,8 +757,6 @@ public Builder addJobs(int index, com.google.cloud.scheduler.v1.Job.Builder buil return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -830,7 +767,8 @@ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -838,8 +776,6 @@ public Builder addAllJobs( return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -857,8 +793,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -876,44 +810,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.scheduler.v1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -921,8 +850,6 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index) { } } /** - * - * *
      * The list of jobs.
      * 
@@ -930,47 +857,42 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index) { * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.scheduler.v1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.scheduler.v1.Job.getDefaultInstance()); } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.scheduler.v1.Job.getDefaultInstance()); + public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.scheduler.v1.Job.getDefaultInstance()); } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder> + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -978,8 +900,6 @@ public java.util.List getJobsBuilderL private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -990,13 +910,13 @@ public java.util.List getJobsBuilderL
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1005,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1017,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1032,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1044,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1070,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1092,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1118,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.ListJobsResponse) private static final com.google.cloud.scheduler.v1.ListJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.ListJobsResponse(); } @@ -1132,16 +1044,16 @@ public static com.google.cloud.scheduler.v1.ListJobsResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1156,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java index 014dfb22..55a48f28 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface ListJobsResponseOrBuilder - extends +public interface ListJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * The list of jobs.
    * 
@@ -44,8 +25,6 @@ public interface ListJobsResponseOrBuilder */ com.google.cloud.scheduler.v1.Job getJobs(int index); /** - * - * *
    * The list of jobs.
    * 
@@ -54,29 +33,25 @@ public interface ListJobsResponseOrBuilder */ int getJobsCount(); /** - * - * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -87,13 +62,10 @@ public interface ListJobsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -104,8 +76,8 @@ public interface ListJobsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java similarity index 100% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java similarity index 73% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java index 9ffd9182..a208952d 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.OAuthToken.class,
-            com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
+            com.google.cloud.scheduler.v1.OAuthToken.class, com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -137,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -146,15 +122,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -163,15 +138,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -191,7 +165,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -200,15 +173,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -216,15 +188,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -233,7 +206,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -275,15 +248,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.OAuthToken)) { return super.equals(obj); } com.google.cloud.scheduler.v1.OAuthToken other = (com.google.cloud.scheduler.v1.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,104 +279,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.OAuthToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.OAuthToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -411,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.OAuthToken)
       com.google.cloud.scheduler.v1.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.OAuthToken.class,
-              com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
+              com.google.cloud.scheduler.v1.OAuthToken.class, com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.OAuthToken.newBuilder()
@@ -435,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -455,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -476,8 +443,7 @@ public com.google.cloud.scheduler.v1.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.OAuthToken buildPartial() {
-      com.google.cloud.scheduler.v1.OAuthToken result =
-          new com.google.cloud.scheduler.v1.OAuthToken(this);
+      com.google.cloud.scheduler.v1.OAuthToken result = new com.google.cloud.scheduler.v1.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -488,39 +454,38 @@ public com.google.cloud.scheduler.v1.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.OAuthToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1.OAuthToken) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -578,13 +541,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -593,8 +556,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -603,14 +564,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -618,8 +580,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -628,22 +588,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -652,18 +610,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -672,16 +627,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -689,8 +644,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -698,13 +651,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -713,8 +666,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -722,14 +673,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -737,8 +689,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -746,22 +696,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -769,18 +717,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -788,23 +733,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -814,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.OAuthToken) private static final com.google.cloud.scheduler.v1.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.OAuthToken(); } @@ -828,16 +773,16 @@ public static com.google.cloud.scheduler.v1.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -852,4 +797,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java index f01258bf..0b573823 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -34,13 +16,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -49,14 +28,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -64,13 +41,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -78,8 +52,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java similarity index 73% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java index 72fe5774..d7c1ea01 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.OidcToken.class,
-            com.google.cloud.scheduler.v1.OidcToken.Builder.class);
+            com.google.cloud.scheduler.v1.OidcToken.class, com.google.cloud.scheduler.v1.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -139,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -148,15 +124,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,15 +160,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -201,30 +174,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -233,7 +206,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -275,15 +248,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.OidcToken)) { return super.equals(obj); } com.google.cloud.scheduler.v1.OidcToken other = (com.google.cloud.scheduler.v1.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,104 +279,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.OidcToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.OidcToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -413,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.OidcToken)
       com.google.cloud.scheduler.v1.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.OidcToken.class,
-              com.google.cloud.scheduler.v1.OidcToken.Builder.class);
+              com.google.cloud.scheduler.v1.OidcToken.class, com.google.cloud.scheduler.v1.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.OidcToken.newBuilder()
@@ -437,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -478,8 +445,7 @@ public com.google.cloud.scheduler.v1.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.OidcToken buildPartial() {
-      com.google.cloud.scheduler.v1.OidcToken result =
-          new com.google.cloud.scheduler.v1.OidcToken(this);
+      com.google.cloud.scheduler.v1.OidcToken result = new com.google.cloud.scheduler.v1.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -490,39 +456,38 @@ public com.google.cloud.scheduler.v1.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.OidcToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1.OidcToken) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -570,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -580,13 +543,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -595,8 +558,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -605,14 +566,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -620,8 +582,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -630,22 +590,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -654,18 +612,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -674,16 +629,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -691,21 +646,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -714,22 +667,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -737,71 +689,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -811,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.OidcToken) private static final com.google.cloud.scheduler.v1.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.OidcToken(); } @@ -825,16 +770,16 @@ public static com.google.cloud.scheduler.v1.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,4 +794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java similarity index 66% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java index 7c38c9a7..110c6a60 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -34,13 +16,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -49,35 +28,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java similarity index 66% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java index 2230062d..79438013 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Request message for [PauseJob][google.cloud.scheduler.v1.CloudScheduler.PauseJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.PauseJobRequest} */ -public final class PauseJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.PauseJobRequest) PauseJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseJobRequest.newBuilder() to construct. private PauseJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.PauseJobRequest.class, - com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1.PauseJobRequest.class, com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.PauseJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.PauseJobRequest other = - (com.google.cloud.scheduler.v1.PauseJobRequest) obj; + com.google.cloud.scheduler.v1.PauseJobRequest other = (com.google.cloud.scheduler.v1.PauseJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.PauseJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.PauseJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.PauseJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [PauseJob][google.cloud.scheduler.v1.CloudScheduler.PauseJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.PauseJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.PauseJobRequest) com.google.cloud.scheduler.v1.PauseJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.PauseJobRequest.class, - com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1.PauseJobRequest.class, com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.PauseJobRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.scheduler.v1.PauseJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.PauseJobRequest buildPartial() { - com.google.cloud.scheduler.v1.PauseJobRequest result = - new com.google.cloud.scheduler.v1.PauseJobRequest(this); + com.google.cloud.scheduler.v1.PauseJobRequest result = new com.google.cloud.scheduler.v1.PauseJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.scheduler.v1.PauseJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.PauseJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.PauseJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1.PauseJobRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.PauseJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.PauseJobRequest) private static final com.google.cloud.scheduler.v1.PauseJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.PauseJobRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.scheduler.v1.PauseJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.PauseJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java new file mode 100644 index 00000000..981afd3c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface PauseJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.PauseJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java similarity index 68% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java index 5a0705fe..9711889c 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Pub/Sub target. The job will be delivered by publishing a message to
  * the given Pub/Sub topic.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.PubsubTarget}
  */
-public final class PubsubTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PubsubTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.PubsubTarget)
     PubsubTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PubsubTarget.newBuilder() to construct.
   private PubsubTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PubsubTarget() {
     topicName_ = "";
     data_ = com.google.protobuf.ByteString.EMPTY;
@@ -45,15 +27,16 @@ private PubsubTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PubsubTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PubsubTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,40 +56,37 @@ private PubsubTarget(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              topicName_ = s;
-              break;
-            }
-          case 26:
-            {
-              data_ = input.readBytes();
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                attributes_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AttributesDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry attributes__ =
-                  input.readMessage(
-                      AttributesDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              attributes_.getMutableMap().put(attributes__.getKey(), attributes__.getValue());
-              break;
+            topicName_ = s;
+            break;
+          }
+          case 26: {
+
+            data_ = input.readBytes();
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              attributes_ = com.google.protobuf.MapField.newMapField(
+                  AttributesDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            attributes__ = input.readMessage(
+                AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            attributes_.getMutableMap().put(
+                attributes__.getKey(), attributes__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,44 +94,41 @@ private PubsubTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetAttributes();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto
-        .internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.PubsubTarget.class,
-            com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
+            com.google.cloud.scheduler.v1.PubsubTarget.class, com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
   }
 
   public static final int TOPIC_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object topicName_;
   /**
-   *
-   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -162,7 +139,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The topicName. */ @java.lang.Override @@ -171,15 +147,14 @@ public java.lang.String getTopicName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; } } /** - * - * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -190,15 +165,16 @@ public java.lang.String getTopicName() {
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topicName. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicNameBytes() { + public com.google.protobuf.ByteString + getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topicName_ = b; return b; } else { @@ -209,8 +185,6 @@ public com.google.protobuf.ByteString getTopicNameBytes() { public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** - * - * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -218,7 +192,6 @@ public com.google.protobuf.ByteString getTopicNameBytes() {
    * 
* * bytes data = 3; - * * @return The data. */ @java.lang.Override @@ -227,23 +200,24 @@ public com.google.protobuf.ByteString getData() { } public static final int ATTRIBUTES_FIELD_NUMBER = 4; - private static final class AttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.scheduler.v1.TargetProto - .internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField attributes_; - - private com.google.protobuf.MapField internalGetAttributes() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> attributes_; + private com.google.protobuf.MapField + internalGetAttributes() { if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField(AttributesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } @@ -252,8 +226,6 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** - * - * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -262,22 +234,22 @@ public int getAttributesCount() {
    *
    * map<string, string> attributes = 4;
    */
+
   @java.lang.Override
-  public boolean containsAttributes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAttributes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAttributes().getMap().containsKey(key);
   }
-  /** Use {@link #getAttributesMap()} instead. */
+  /**
+   * Use {@link #getAttributesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAttributes() {
     return getAttributesMap();
   }
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -287,12 +259,11 @@ public java.util.Map getAttributes() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
+
   public java.util.Map getAttributesMap() {
     return internalGetAttributes().getMap();
   }
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -302,17 +273,16 @@ public java.util.Map getAttributesMap() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
+
   public java.lang.String getAttributesOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAttributes().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -322,11 +292,12 @@ public java.lang.String getAttributesOrDefault(
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-  public java.lang.String getAttributesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAttributes().getMap();
+
+  public java.lang.String getAttributesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAttributes().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -334,7 +305,6 @@ public java.lang.String getAttributesOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -346,15 +316,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topicName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topicName_);
     }
     if (!data_.isEmpty()) {
       output.writeBytes(3, data_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 4);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAttributes(),
+        AttributesDefaultEntryHolder.defaultEntry,
+        4);
     unknownFields.writeTo(output);
   }
 
@@ -368,17 +343,18 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topicName_);
     }
     if (!data_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, data_);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetAttributes().getMap().entrySet()) {
-      com.google.protobuf.MapEntry attributes__ =
-          AttributesDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, attributes__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(3, data_);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetAttributes().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, attributes__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -388,17 +364,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.PubsubTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1.PubsubTarget other =
-        (com.google.cloud.scheduler.v1.PubsubTarget) obj;
+    com.google.cloud.scheduler.v1.PubsubTarget other = (com.google.cloud.scheduler.v1.PubsubTarget) obj;
 
-    if (!getTopicName().equals(other.getTopicName())) return false;
-    if (!getData().equals(other.getData())) return false;
-    if (!internalGetAttributes().equals(other.internalGetAttributes())) return false;
+    if (!getTopicName()
+        .equals(other.getTopicName())) return false;
+    if (!getData()
+        .equals(other.getData())) return false;
+    if (!internalGetAttributes().equals(
+        other.internalGetAttributes())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -423,104 +401,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.scheduler.v1.PubsubTarget parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.scheduler.v1.PubsubTarget parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.scheduler.v1.PubsubTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Pub/Sub target. The job will be delivered by publishing a message to
    * the given Pub/Sub topic.
@@ -528,43 +499,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.PubsubTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.PubsubTarget)
       com.google.cloud.scheduler.v1.PubsubTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.PubsubTarget.class,
-              com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
+              com.google.cloud.scheduler.v1.PubsubTarget.class, com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.PubsubTarget.newBuilder()
@@ -572,15 +543,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -593,9 +565,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto
-          .internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
     }
 
     @java.lang.Override
@@ -614,8 +586,7 @@ public com.google.cloud.scheduler.v1.PubsubTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.PubsubTarget buildPartial() {
-      com.google.cloud.scheduler.v1.PubsubTarget result =
-          new com.google.cloud.scheduler.v1.PubsubTarget(this);
+      com.google.cloud.scheduler.v1.PubsubTarget result = new com.google.cloud.scheduler.v1.PubsubTarget(this);
       int from_bitField0_ = bitField0_;
       result.topicName_ = topicName_;
       result.data_ = data_;
@@ -629,39 +600,38 @@ public com.google.cloud.scheduler.v1.PubsubTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.PubsubTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -677,7 +647,8 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.PubsubTarget other) {
       if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
         setData(other.getData());
       }
-      internalGetMutableAttributes().mergeFrom(other.internalGetAttributes());
+      internalGetMutableAttributes().mergeFrom(
+          other.internalGetAttributes());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -706,13 +677,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object topicName_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -723,13 +691,13 @@ public Builder mergeFrom(
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The topicName. */ public java.lang.String getTopicName() { java.lang.Object ref = topicName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; @@ -738,8 +706,6 @@ public java.lang.String getTopicName() { } } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -750,14 +716,15 @@ public java.lang.String getTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topicName. */ - public com.google.protobuf.ByteString getTopicNameBytes() { + public com.google.protobuf.ByteString + getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topicName_ = b; return b; } else { @@ -765,8 +732,6 @@ public com.google.protobuf.ByteString getTopicNameBytes() { } } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -777,22 +742,20 @@ public com.google.protobuf.ByteString getTopicNameBytes() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The topicName to set. * @return This builder for chaining. */ - public Builder setTopicName(java.lang.String value) { + public Builder setTopicName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topicName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -803,18 +766,15 @@ public Builder setTopicName(java.lang.String value) {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTopicName() { - + topicName_ = getDefaultInstance().getTopicName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -825,16 +785,16 @@ public Builder clearTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for topicName to set. * @return This builder for chaining. */ - public Builder setTopicNameBytes(com.google.protobuf.ByteString value) { + public Builder setTopicNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topicName_ = value; onChanged(); return this; @@ -842,8 +802,6 @@ public Builder setTopicNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -851,7 +809,6 @@ public Builder setTopicNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes data = 3; - * * @return The data. */ @java.lang.Override @@ -859,8 +816,6 @@ public com.google.protobuf.ByteString getData() { return data_; } /** - * - * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -868,22 +823,19 @@ public com.google.protobuf.ByteString getData() {
      * 
* * bytes data = 3; - * * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + data_ = value; onChanged(); return this; } /** - * - * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -891,34 +843,31 @@ public Builder setData(com.google.protobuf.ByteString value) {
      * 
* * bytes data = 3; - * * @return This builder for chaining. */ public Builder clearData() { - + data_ = getDefaultInstance().getData(); onChanged(); return this; } - private com.google.protobuf.MapField attributes_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField - internalGetAttributes() { + internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } - private com.google.protobuf.MapField - internalGetMutableAttributes() { - onChanged(); - ; + internalGetMutableAttributes() { + onChanged();; if (attributes_ == null) { - attributes_ = - com.google.protobuf.MapField.newMapField(AttributesDefaultEntryHolder.defaultEntry); + attributes_ = com.google.protobuf.MapField.newMapField( + AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); @@ -930,8 +879,6 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** - * - * *
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -940,22 +887,22 @@ public int getAttributesCount() {
      *
      * map<string, string> attributes = 4;
      */
+
     @java.lang.Override
-    public boolean containsAttributes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAttributes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAttributes().getMap().containsKey(key);
     }
-    /** Use {@link #getAttributesMap()} instead. */
+    /**
+     * Use {@link #getAttributesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAttributes() {
       return getAttributesMap();
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -965,12 +912,11 @@ public java.util.Map getAttributes() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
+
     public java.util.Map getAttributesMap() {
       return internalGetAttributes().getMap();
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -980,17 +926,16 @@ public java.util.Map getAttributesMap() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
+
     public java.lang.String getAttributesOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAttributes().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1000,11 +945,12 @@ public java.lang.String getAttributesOrDefault(
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-    public java.lang.String getAttributesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAttributes().getMap();
+
+    public java.lang.String getAttributesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAttributes().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1012,12 +958,11 @@ public java.lang.String getAttributesOrThrow(java.lang.String key) {
     }
 
     public Builder clearAttributes() {
-      internalGetMutableAttributes().getMutableMap().clear();
+      internalGetMutableAttributes().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1026,21 +971,23 @@ public Builder clearAttributes() {
      *
      * map<string, string> attributes = 4;
      */
-    public Builder removeAttributes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAttributes().getMutableMap().remove(key);
+
+    public Builder removeAttributes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAttributes().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAttributes() {
+    public java.util.Map
+    getMutableAttributes() {
       return internalGetMutableAttributes().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1049,20 +996,19 @@ public java.util.Map getMutableAttributes()
      *
      * map<string, string> attributes = 4;
      */
-    public Builder putAttributes(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAttributes(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableAttributes().getMutableMap().put(key, value);
+      internalGetMutableAttributes().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1071,13 +1017,16 @@ public Builder putAttributes(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> attributes = 4;
      */
-    public Builder putAllAttributes(java.util.Map values) {
-      internalGetMutableAttributes().getMutableMap().putAll(values);
+
+    public Builder putAllAttributes(
+        java.util.Map values) {
+      internalGetMutableAttributes().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1087,12 +1036,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.PubsubTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.PubsubTarget)
   private static final com.google.cloud.scheduler.v1.PubsubTarget DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.PubsubTarget();
   }
@@ -1101,16 +1050,16 @@ public static com.google.cloud.scheduler.v1.PubsubTarget getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PubsubTarget parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new PubsubTarget(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PubsubTarget parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new PubsubTarget(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1125,4 +1074,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1.PubsubTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
similarity index 71%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
index 74bf1dcc..e4e09398 100644
--- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/target.proto
 
 package com.google.cloud.scheduler.v1;
 
-public interface PubsubTargetOrBuilder
-    extends
+public interface PubsubTargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.PubsubTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -36,13 +18,10 @@ public interface PubsubTargetOrBuilder
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The topicName. */ java.lang.String getTopicName(); /** - * - * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -53,14 +32,12 @@ public interface PubsubTargetOrBuilder
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topicName. */ - com.google.protobuf.ByteString getTopicNameBytes(); + com.google.protobuf.ByteString + getTopicNameBytes(); /** - * - * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -68,14 +45,11 @@ public interface PubsubTargetOrBuilder
    * 
* * bytes data = 3; - * * @return The data. */ com.google.protobuf.ByteString getData(); /** - * - * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -86,8 +60,6 @@ public interface PubsubTargetOrBuilder
    */
   int getAttributesCount();
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -96,13 +68,15 @@ public interface PubsubTargetOrBuilder
    *
    * map<string, string> attributes = 4;
    */
-  boolean containsAttributes(java.lang.String key);
-  /** Use {@link #getAttributesMap()} instead. */
+  boolean containsAttributes(
+      java.lang.String key);
+  /**
+   * Use {@link #getAttributesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAttributes();
+  java.util.Map
+  getAttributes();
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -111,10 +85,9 @@ public interface PubsubTargetOrBuilder
    *
    * map<string, string> attributes = 4;
    */
-  java.util.Map getAttributesMap();
+  java.util.Map
+  getAttributesMap();
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -125,13 +98,11 @@ public interface PubsubTargetOrBuilder
    */
 
   /* nullable */
-  java.lang.String getAttributesOrDefault(
+java.lang.String getAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -140,5 +111,7 @@ java.lang.String getAttributesOrDefault(
    *
    * map<string, string> attributes = 4;
    */
-  java.lang.String getAttributesOrThrow(java.lang.String key);
+
+  java.lang.String getAttributesOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
similarity index 66%
rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
index cbc70eaa..788b6aaf 100644
--- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
- *
- *
  * 
  * Request message for [ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.ResumeJobRequest} */ -public final class ResumeJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.ResumeJobRequest) ResumeJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeJobRequest.newBuilder() to construct. private ResumeJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ResumeJobRequest.class, - com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1.ResumeJobRequest.class, com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.ResumeJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.ResumeJobRequest other = - (com.google.cloud.scheduler.v1.ResumeJobRequest) obj; + com.google.cloud.scheduler.v1.ResumeJobRequest other = (com.google.cloud.scheduler.v1.ResumeJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.ResumeJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.ResumeJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.ResumeJobRequest) com.google.cloud.scheduler.v1.ResumeJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ResumeJobRequest.class, - com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1.ResumeJobRequest.class, com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.ResumeJobRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.scheduler.v1.ResumeJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.ResumeJobRequest buildPartial() { - com.google.cloud.scheduler.v1.ResumeJobRequest result = - new com.google.cloud.scheduler.v1.ResumeJobRequest(this); + com.google.cloud.scheduler.v1.ResumeJobRequest result = new com.google.cloud.scheduler.v1.ResumeJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.scheduler.v1.ResumeJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.ResumeJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.ResumeJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1.ResumeJobRequest)other); } else { super.mergeFrom(other); return this; @@ -486,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -536,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.ResumeJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.ResumeJobRequest) private static final com.google.cloud.scheduler.v1.ResumeJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.ResumeJobRequest(); } @@ -630,16 +573,16 @@ public static com.google.cloud.scheduler.v1.ResumeJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.ResumeJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java new file mode 100644 index 00000000..0848813a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface ResumeJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ResumeJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java similarity index 78% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java index 3f363399..135af3a6 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/job.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Settings that determine the retry behavior.
  * By default, if a job does not complete successfully (meaning that
@@ -30,29 +13,30 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,68 +55,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              retryCount_ = input.readInt32();
-              break;
+          case 8: {
+
+            retryCount_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoffDuration_ != null) {
-                subBuilder = minBackoffDuration_.toBuilder();
-              }
-              minBackoffDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoffDuration_);
-                minBackoffDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoffDuration_ != null) {
+              subBuilder = minBackoffDuration_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoffDuration_ != null) {
-                subBuilder = maxBackoffDuration_.toBuilder();
-              }
-              maxBackoffDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoffDuration_);
-                maxBackoffDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoffDuration_);
+              minBackoffDuration_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoffDuration_ != null) {
+              subBuilder = maxBackoffDuration_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoffDuration_);
+              maxBackoffDuration_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -140,33 +118,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.JobProto
-        .internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.JobProto
-        .internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.RetryConfig.class,
-            com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
+            com.google.cloud.scheduler.v1.RetryConfig.class, com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
   }
 
   public static final int RETRY_COUNT_FIELD_NUMBER = 1;
   private int retryCount_;
   /**
-   *
-   *
    * 
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -183,7 +157,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 retry_count = 1; - * * @return The retryCount. */ @java.lang.Override @@ -194,8 +167,6 @@ public int getRetryCount() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -206,7 +177,6 @@ public int getRetryCount() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -214,8 +184,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -226,18 +194,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -257,8 +220,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoffDuration_;
   /**
-   *
-   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -266,7 +227,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return Whether the minBackoffDuration field is set. */ @java.lang.Override @@ -274,8 +234,6 @@ public boolean hasMinBackoffDuration() { return minBackoffDuration_ != null; } /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -283,18 +241,13 @@ public boolean hasMinBackoffDuration() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return The minBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinBackoffDuration() { - return minBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoffDuration_; + return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; } /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -311,8 +264,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
   public static final int MAX_BACKOFF_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoffDuration_;
   /**
-   *
-   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -320,7 +271,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return Whether the maxBackoffDuration field is set. */ @java.lang.Override @@ -328,8 +278,6 @@ public boolean hasMaxBackoffDuration() { return maxBackoffDuration_ != null; } /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -337,18 +285,13 @@ public boolean hasMaxBackoffDuration() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return The maxBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxBackoffDuration() { - return maxBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoffDuration_; + return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; } /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -365,8 +308,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -387,7 +328,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -396,7 +336,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retryCount_ != 0) { output.writeInt32(1, retryCount_); } @@ -434,19 +374,24 @@ public int getSerializedSize() { size = 0; if (retryCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retryCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, retryCount_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoffDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoffDuration()); } if (maxBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoffDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoffDuration()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -456,28 +401,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.RetryConfig)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.RetryConfig other = - (com.google.cloud.scheduler.v1.RetryConfig) obj; + com.google.cloud.scheduler.v1.RetryConfig other = (com.google.cloud.scheduler.v1.RetryConfig) obj; - if (getRetryCount() != other.getRetryCount()) return false; + if (getRetryCount() + != other.getRetryCount()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoffDuration() != other.hasMinBackoffDuration()) return false; if (hasMinBackoffDuration()) { - if (!getMinBackoffDuration().equals(other.getMinBackoffDuration())) return false; + if (!getMinBackoffDuration() + .equals(other.getMinBackoffDuration())) return false; } if (hasMaxBackoffDuration() != other.hasMaxBackoffDuration()) return false; if (hasMaxBackoffDuration()) { - if (!getMaxBackoffDuration().equals(other.getMaxBackoffDuration())) return false; + if (!getMaxBackoffDuration() + .equals(other.getMaxBackoffDuration())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -510,104 +459,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Settings that determine the retry behavior.
    * By default, if a job does not complete successfully (meaning that
@@ -617,23 +559,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.RetryConfig)
       com.google.cloud.scheduler.v1.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.JobProto
-          .internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.JobProto
-          .internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.RetryConfig.class,
-              com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
+              com.google.cloud.scheduler.v1.RetryConfig.class, com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.RetryConfig.newBuilder()
@@ -641,15 +581,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -679,9 +620,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.JobProto
-          .internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -700,8 +641,7 @@ public com.google.cloud.scheduler.v1.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.RetryConfig buildPartial() {
-      com.google.cloud.scheduler.v1.RetryConfig result =
-          new com.google.cloud.scheduler.v1.RetryConfig(this);
+      com.google.cloud.scheduler.v1.RetryConfig result = new com.google.cloud.scheduler.v1.RetryConfig(this);
       result.retryCount_ = retryCount_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -727,39 +667,38 @@ public com.google.cloud.scheduler.v1.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.RetryConfig) {
-        return mergeFrom((com.google.cloud.scheduler.v1.RetryConfig) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -812,10 +751,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int retryCount_;
+    private int retryCount_ ;
     /**
-     *
-     *
      * 
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -832,7 +769,6 @@ public Builder mergeFrom(
      * 
* * int32 retry_count = 1; - * * @return The retryCount. */ @java.lang.Override @@ -840,8 +776,6 @@ public int getRetryCount() { return retryCount_; } /** - * - * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -858,19 +792,16 @@ public int getRetryCount() {
      * 
* * int32 retry_count = 1; - * * @param value The retryCount to set. * @return This builder for chaining. */ public Builder setRetryCount(int value) { - + retryCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -887,11 +818,10 @@ public Builder setRetryCount(int value) {
      * 
* * int32 retry_count = 1; - * * @return This builder for chaining. */ public Builder clearRetryCount() { - + retryCount_ = 0; onChanged(); return this; @@ -899,13 +829,8 @@ public Builder clearRetryCount() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -916,15 +841,12 @@ public Builder clearRetryCount() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -935,21 +857,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -975,8 +892,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -988,7 +903,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -999,8 +915,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1016,9 +930,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1030,8 +942,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1055,8 +965,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1069,13 +977,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1091,14 +997,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1111,17 +1014,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1129,13 +1029,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffDurationBuilder_;
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1143,15 +1038,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return Whether the minBackoffDuration field is set. */ public boolean hasMinBackoffDuration() { return minBackoffDurationBuilder_ != null || minBackoffDuration_ != null; } /** - * - * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1159,21 +1051,16 @@ public boolean hasMinBackoffDuration() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return The minBackoffDuration. */ public com.google.protobuf.Duration getMinBackoffDuration() { if (minBackoffDurationBuilder_ == null) { - return minBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoffDuration_; + return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; } else { return minBackoffDurationBuilder_.getMessage(); } } /** - * - * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1196,8 +1083,6 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1206,7 +1091,8 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
-    public Builder setMinBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoffDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffDurationBuilder_ == null) {
         minBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1217,8 +1103,6 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1231,9 +1115,7 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       if (minBackoffDurationBuilder_ == null) {
         if (minBackoffDuration_ != null) {
           minBackoffDuration_ =
-              com.google.protobuf.Duration.newBuilder(minBackoffDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoffDuration_).mergeFrom(value).buildPartial();
         } else {
           minBackoffDuration_ = value;
         }
@@ -1245,8 +1127,6 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1267,8 +1147,6 @@ public Builder clearMinBackoffDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1278,13 +1156,11 @@ public Builder clearMinBackoffDuration() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffDurationBuilder() {
-
+      
       onChanged();
       return getMinBackoffDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1297,14 +1173,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
       if (minBackoffDurationBuilder_ != null) {
         return minBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoffDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoffDuration_;
+        return minBackoffDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1314,17 +1187,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffDurationFieldBuilder() {
       if (minBackoffDurationBuilder_ == null) {
-        minBackoffDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoffDuration(), getParentForChildren(), isClean());
+        minBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoffDuration(),
+                getParentForChildren(),
+                isClean());
         minBackoffDuration_ = null;
       }
       return minBackoffDurationBuilder_;
@@ -1332,13 +1202,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffDurationBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1346,15 +1211,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return Whether the maxBackoffDuration field is set. */ public boolean hasMaxBackoffDuration() { return maxBackoffDurationBuilder_ != null || maxBackoffDuration_ != null; } /** - * - * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1362,21 +1224,16 @@ public boolean hasMaxBackoffDuration() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return The maxBackoffDuration. */ public com.google.protobuf.Duration getMaxBackoffDuration() { if (maxBackoffDurationBuilder_ == null) { - return maxBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoffDuration_; + return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; } else { return maxBackoffDurationBuilder_.getMessage(); } } /** - * - * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1399,8 +1256,6 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1409,7 +1264,8 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
-    public Builder setMaxBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoffDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffDurationBuilder_ == null) {
         maxBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1420,8 +1276,6 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1434,9 +1288,7 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       if (maxBackoffDurationBuilder_ == null) {
         if (maxBackoffDuration_ != null) {
           maxBackoffDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoffDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoffDuration_).mergeFrom(value).buildPartial();
         } else {
           maxBackoffDuration_ = value;
         }
@@ -1448,8 +1300,6 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1470,8 +1320,6 @@ public Builder clearMaxBackoffDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1481,13 +1329,11 @@ public Builder clearMaxBackoffDuration() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffDurationBuilder() {
-
+      
       onChanged();
       return getMaxBackoffDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1500,14 +1346,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
       if (maxBackoffDurationBuilder_ != null) {
         return maxBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoffDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoffDuration_;
+        return maxBackoffDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1517,26 +1360,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxBackoffDurationFieldBuilder() {
       if (maxBackoffDurationBuilder_ == null) {
-        maxBackoffDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoffDuration(), getParentForChildren(), isClean());
+        maxBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoffDuration(),
+                getParentForChildren(),
+                isClean());
         maxBackoffDuration_ = null;
       }
       return maxBackoffDurationBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1557,7 +1395,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1565,8 +1402,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1587,19 +1422,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1620,18 +1452,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1641,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.RetryConfig) private static final com.google.cloud.scheduler.v1.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.RetryConfig(); } @@ -1655,16 +1486,16 @@ public static com.google.cloud.scheduler.v1.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1679,4 +1510,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java similarity index 88% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java index 4409b41a..d4a0c6cb 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/job.proto package com.google.cloud.scheduler.v1; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -42,14 +24,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 retry_count = 1; - * * @return The retryCount. */ int getRetryCount(); /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -60,13 +39,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -77,13 +53,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -98,8 +71,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -107,13 +78,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return Whether the minBackoffDuration field is set. */ boolean hasMinBackoffDuration(); /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -121,13 +89,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return The minBackoffDuration. */ com.google.protobuf.Duration getMinBackoffDuration(); /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -139,8 +104,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -148,13 +111,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return Whether the maxBackoffDuration field is set. */ boolean hasMaxBackoffDuration(); /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -162,13 +122,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return The maxBackoffDuration. */ com.google.protobuf.Duration getMaxBackoffDuration(); /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -180,8 +137,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -202,7 +157,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java similarity index 66% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java index 95dfb93f..74e6333c 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Request message for forcing a job to run now using
  * [RunJob][google.cloud.scheduler.v1.CloudScheduler.RunJob].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.RunJobRequest}
  */
-public final class RunJobRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunJobRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.RunJobRequest)
     RunJobRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunJobRequest.newBuilder() to construct.
   private RunJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private RunJobRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private RunJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.RunJobRequest.class,
-            com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1.RunJobRequest.class, com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.RunJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.RunJobRequest other = - (com.google.cloud.scheduler.v1.RunJobRequest) obj; + com.google.cloud.scheduler.v1.RunJobRequest other = (com.google.cloud.scheduler.v1.RunJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.RunJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.RunJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.RunJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a job to run now using
    * [RunJob][google.cloud.scheduler.v1.CloudScheduler.RunJob].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1.RunJobRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.RunJobRequest)
       com.google.cloud.scheduler.v1.RunJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.RunJobRequest.class,
-              com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1.RunJobRequest.class, com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.RunJobRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.scheduler.v1.RunJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.RunJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1.RunJobRequest result =
-          new com.google.cloud.scheduler.v1.RunJobRequest(this);
+      com.google.cloud.scheduler.v1.RunJobRequest result = new com.google.cloud.scheduler.v1.RunJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.scheduler.v1.RunJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.RunJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1.RunJobRequest) other);
+        return mergeFrom((com.google.cloud.scheduler.v1.RunJobRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -488,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.RunJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.RunJobRequest) private static final com.google.cloud.scheduler.v1.RunJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.RunJobRequest(); } @@ -632,16 +575,16 @@ public static com.google.cloud.scheduler.v1.RunJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.RunJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java new file mode 100644 index 00000000..877c0b01 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface RunJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.RunJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java new file mode 100644 index 00000000..0f88e2f8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java @@ -0,0 +1,223 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public final class SchedulerProto { + private SchedulerProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/cloud/scheduler/v1/cloudschedul" + + "er.proto\022\031google.cloud.scheduler.v1\032\034goo" + + "gle/api/annotations.proto\032\027google/api/cl" + + "ient.proto\032\037google/api/field_behavior.pr" + + "oto\032\031google/api/resource.proto\032#google/c" + + "loud/scheduler/v1/job.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\"s\n\017ListJobsRequest\0229\n\006parent\030" + + "\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googleapis" + + ".com/Job\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_toke" + + "n\030\006 \001(\t\"Y\n\020ListJobsResponse\022,\n\004jobs\030\001 \003(" + + "\0132\036.google.cloud.scheduler.v1.Job\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"H\n\rGetJobRequest\0227\n\004n" + + "ame\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.google" + + "apis.com/Job\"\177\n\020CreateJobRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googlea" + + "pis.com/Job\0220\n\003job\030\002 \001(\0132\036.google.cloud." + + "scheduler.v1.JobB\003\340A\002\"z\n\020UpdateJobReques" + + "t\0220\n\003job\030\001 \001(\0132\036.google.cloud.scheduler." + + "v1.JobB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\002\"K\n\020DeleteJobRe" + + "quest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudschedu" + + "ler.googleapis.com/Job\"J\n\017PauseJobReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler." + + "googleapis.com/Job\"K\n\020ResumeJobRequest\0227" + + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.goo" + + "gleapis.com/Job\"H\n\rRunJobRequest\0227\n\004name" + + "\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapi" + + "s.com/Job2\263\n\n\016CloudScheduler\022\236\001\n\010ListJob" + + "s\022*.google.cloud.scheduler.v1.ListJobsRe" + + "quest\032+.google.cloud.scheduler.v1.ListJo" + + "bsResponse\"9\202\323\344\223\002*\022(/v1/{parent=projects" + + "/*/locations/*}/jobs\332A\006parent\022\213\001\n\006GetJob" + + "\022(.google.cloud.scheduler.v1.GetJobReque" + + "st\032\036.google.cloud.scheduler.v1.Job\"7\202\323\344\223" + + "\002*\022(/v1/{name=projects/*/locations/*/job" + + "s/*}\332A\004name\022\234\001\n\tCreateJob\022+.google.cloud" + + ".scheduler.v1.CreateJobRequest\032\036.google." + + "cloud.scheduler.v1.Job\"B\202\323\344\223\002/\"(/v1/{par" + + "ent=projects/*/locations/*}/jobs:\003job\332A\n" + + "parent,job\022\245\001\n\tUpdateJob\022+.google.cloud." + + "scheduler.v1.UpdateJobRequest\032\036.google.c" + + "loud.scheduler.v1.Job\"K\202\323\344\223\00232,/v1/{job." + + "name=projects/*/locations/*/jobs/*}:\003job" + + "\332A\017job,update_mask\022\211\001\n\tDeleteJob\022+.googl" + + "e.cloud.scheduler.v1.DeleteJobRequest\032\026." + + "google.protobuf.Empty\"7\202\323\344\223\002**(/v1/{name" + + "=projects/*/locations/*/jobs/*}\332A\004name\022\230" + + "\001\n\010PauseJob\022*.google.cloud.scheduler.v1." + + "PauseJobRequest\032\036.google.cloud.scheduler" + + ".v1.Job\"@\202\323\344\223\0023\"./v1/{name=projects/*/lo" + + "cations/*/jobs/*}:pause:\001*\332A\004name\022\233\001\n\tRe" + + "sumeJob\022+.google.cloud.scheduler.v1.Resu" + + "meJobRequest\032\036.google.cloud.scheduler.v1" + + ".Job\"A\202\323\344\223\0024\"//v1/{name=projects/*/locat" + + "ions/*/jobs/*}:resume:\001*\332A\004name\022\222\001\n\006RunJ" + + "ob\022(.google.cloud.scheduler.v1.RunJobReq" + + "uest\032\036.google.cloud.scheduler.v1.Job\">\202\323" + + "\344\223\0021\",/v1/{name=projects/*/locations/*/j" + + "obs/*}:run:\001*\332A\004name\032Q\312A\035cloudscheduler." + + "googleapis.com\322A.https://www.googleapis." + + "com/auth/cloud-platformB\201\001\n\035com.google.c" + + "loud.scheduler.v1B\016SchedulerProtoP\001ZBgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/scheduler/v1;scheduler\242\002\tSCHEDULERb\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.scheduler.v1.JobProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor, + new java.lang.String[] { "Jobs", "NextPageToken", }); + internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor, + new java.lang.String[] { "Parent", "Job", }); + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor, + new java.lang.String[] { "Job", "UpdateMask", }); + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.scheduler.v1.JobProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java new file mode 100644 index 00000000..c9d29009 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java @@ -0,0 +1,182 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/target.proto + +package com.google.cloud.scheduler.v1; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/scheduler/v1/target.proto" + + "\022\031google.cloud.scheduler.v1\032\031google/api/" + + "resource.proto\032\034google/api/annotations.p" + + "roto\"\352\002\n\nHttpTarget\022\013\n\003uri\030\001 \001(\t\022:\n\013http" + + "_method\030\002 \001(\0162%.google.cloud.scheduler.v" + + "1.HttpMethod\022C\n\007headers\030\003 \003(\01322.google.c" + + "loud.scheduler.v1.HttpTarget.HeadersEntr" + + "y\022\014\n\004body\030\004 \001(\014\022<\n\013oauth_token\030\005 \001(\0132%.g" + + "oogle.cloud.scheduler.v1.OAuthTokenH\000\022:\n" + + "\noidc_token\030\006 \001(\0132$.google.cloud.schedul" + + "er.v1.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizati" + + "on_header\"\274\002\n\023AppEngineHttpTarget\022:\n\013htt" + + "p_method\030\001 \001(\0162%.google.cloud.scheduler." + + "v1.HttpMethod\022G\n\022app_engine_routing\030\002 \001(" + + "\0132+.google.cloud.scheduler.v1.AppEngineR" + + "outing\022\024\n\014relative_uri\030\003 \001(\t\022L\n\007headers\030" + + "\004 \003(\0132;.google.cloud.scheduler.v1.AppEng" + + "ineHttpTarget.HeadersEntry\022\014\n\004body\030\005 \001(\014" + + "\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"\322\001\n\014PubsubTarget\0224\n\ntopic_name\030" + + "\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022" + + "\014\n\004data\030\003 \001(\014\022K\n\nattributes\030\004 \003(\01327.goog" + + "le.cloud.scheduler.v1.PubsubTarget.Attri" + + "butesEntry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRoutin" + + "g\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020\n\010i" + + "nstance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthToke" + + "n\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005scop" + + "e\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_account_" + + "email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttpMet" + + "hod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004POST" + + "\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE" + + "\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\265\001\n\035com.googl" + + "e.cloud.scheduler.v1B\013TargetProtoP\001ZBgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/scheduler/v1;scheduler\352A@\n\033pubsub.googl" + + "eapis.com/Topic\022!projects/{project}/topi" + + "cs/{topic}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor, + new java.lang.String[] { "Uri", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor, + new java.lang.String[] { "TopicName", "Data", "Attributes", }); + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor = + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_scheduler_v1_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java similarity index 70% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java index eca5f0df..b6d68229 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** - * - * *
  * Request message for [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.UpdateJobRequest} */ -public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.UpdateJobRequest) UpdateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateJobRequest() {} + private UpdateJobRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,43 +52,39 @@ private UpdateJobRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = - input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); + } + job_ = input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,33 +92,29 @@ private UpdateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.UpdateJobRequest.class, - com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.UpdateJobRequest.class, com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.scheduler.v1.Job job_; /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -146,7 +122,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -154,8 +129,6 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -163,7 +136,6 @@ public boolean hasJob() {
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -171,8 +143,6 @@ public com.google.cloud.scheduler.v1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -189,15 +159,11 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
-   *
-   *
    * 
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -205,15 +171,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -221,14 +183,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -236,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -248,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -265,10 +224,12 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getJob()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,21 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.UpdateJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.UpdateJobRequest other = - (com.google.cloud.scheduler.v1.UpdateJobRequest) obj; + com.google.cloud.scheduler.v1.UpdateJobRequest other = (com.google.cloud.scheduler.v1.UpdateJobRequest) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -318,127 +280,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1.UpdateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.UpdateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.UpdateJobRequest) com.google.cloud.scheduler.v1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.UpdateJobRequest.class, - com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.UpdateJobRequest.class, com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.UpdateJobRequest.newBuilder() @@ -446,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto - .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -495,8 +449,7 @@ public com.google.cloud.scheduler.v1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.UpdateJobRequest buildPartial() { - com.google.cloud.scheduler.v1.UpdateJobRequest result = - new com.google.cloud.scheduler.v1.UpdateJobRequest(this); + com.google.cloud.scheduler.v1.UpdateJobRequest result = new com.google.cloud.scheduler.v1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -515,39 +468,38 @@ public com.google.cloud.scheduler.v1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.UpdateJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1.UpdateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -593,39 +545,28 @@ public Builder mergeFrom( private com.google.cloud.scheduler.v1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder> - jobBuilder_; + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.scheduler.v1.Job getJob() { @@ -636,16 +577,13 @@ public com.google.cloud.scheduler.v1.Job getJob() { } } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { @@ -661,18 +599,16 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -683,21 +619,19 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job.Builder builderForValue) return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -709,16 +643,13 @@ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -732,65 +663,54 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder> + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, - com.google.cloud.scheduler.v1.Job.Builder, - com.google.cloud.scheduler.v1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -798,55 +718,39 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -862,16 +766,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -882,20 +784,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -907,14 +806,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -928,68 +824,55 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.UpdateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.UpdateJobRequest) private static final com.google.cloud.scheduler.v1.UpdateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.UpdateJobRequest(); } @@ -1013,16 +896,16 @@ public static com.google.cloud.scheduler.v1.UpdateJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.UpdateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java index 3d8fc440..7f5e2e40 100644 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface UpdateJobRequestOrBuilder - extends +public interface UpdateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.UpdateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -33,13 +15,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -47,13 +26,10 @@ public interface UpdateJobRequestOrBuilder
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.scheduler.v1.Job getJob(); /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -65,40 +41,29 @@ public interface UpdateJobRequestOrBuilder
   com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder();
 
   /**
-   *
-   *
    * 
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto similarity index 100% rename from proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto diff --git a/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto similarity index 100% rename from proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto diff --git a/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto similarity index 100% rename from proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto rename to owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..a4af734c --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.CloudSchedulerSettings; +import com.google.cloud.scheduler.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings cloudSchedulerSettings = + CloudSchedulerSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); + } +} +// [END scheduler_v1_generated_cloudschedulerclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..c9b0b2c6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_create_setcredentialsprovider1_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.CloudSchedulerSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings cloudSchedulerSettings = + CloudSchedulerSettings.newBuilder() + .setTransportChannelProvider( + CloudSchedulerSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); + } +} +// [END scheduler_v1_generated_cloudschedulerclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..c9c07d49 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_create_setendpoint_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.CloudSchedulerSettings; +import com.google.cloud.scheduler.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings cloudSchedulerSettings = + CloudSchedulerSettings.newBuilder().setEndpoint(myEndpoint).build(); + CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); + } +} +// [END scheduler_v1_generated_cloudschedulerclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java new file mode 100644 index 00000000..8f87b838 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_createjob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.CreateJobRequest; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.LocationName; + +public class AsyncCreateJob { + + public static void main(String[] args) throws Exception { + asyncCreateJob(); + } + + public static void asyncCreateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + CreateJobRequest request = + CreateJobRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setJob(Job.newBuilder().build()) + .build(); + ApiFuture future = cloudSchedulerClient.createJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_createjob_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java new file mode 100644 index 00000000..e64236a0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_createjob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.CreateJobRequest; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.LocationName; + +public class SyncCreateJob { + + public static void main(String[] args) throws Exception { + syncCreateJob(); + } + + public static void syncCreateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + CreateJobRequest request = + CreateJobRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setJob(Job.newBuilder().build()) + .build(); + Job response = cloudSchedulerClient.createJob(request); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_createjob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java new file mode 100644 index 00000000..195c8ac9 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_createjob_locationnamejob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.LocationName; + +public class SyncCreateJobLocationnameJob { + + public static void main(String[] args) throws Exception { + syncCreateJobLocationnameJob(); + } + + public static void syncCreateJobLocationnameJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + Job response = cloudSchedulerClient.createJob(parent, job); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_createjob_locationnamejob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java new file mode 100644 index 00000000..e0b5795e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_createjob_stringjob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.LocationName; + +public class SyncCreateJobStringJob { + + public static void main(String[] args) throws Exception { + syncCreateJobStringJob(); + } + + public static void syncCreateJobStringJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + Job job = Job.newBuilder().build(); + Job response = cloudSchedulerClient.createJob(parent, job); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_createjob_stringjob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java new file mode 100644 index 00000000..18abb40f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_deletejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.DeleteJobRequest; +import com.google.cloud.scheduler.v1.JobName; +import com.google.protobuf.Empty; + +public class AsyncDeleteJob { + + public static void main(String[] args) throws Exception { + asyncDeleteJob(); + } + + public static void asyncDeleteJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + DeleteJobRequest request = + DeleteJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.deleteJobCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_deletejob_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java new file mode 100644 index 00000000..2ecced4e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_deletejob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.DeleteJobRequest; +import com.google.cloud.scheduler.v1.JobName; +import com.google.protobuf.Empty; + +public class SyncDeleteJob { + + public static void main(String[] args) throws Exception { + syncDeleteJob(); + } + + public static void syncDeleteJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + DeleteJobRequest request = + DeleteJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + cloudSchedulerClient.deleteJob(request); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_deletejob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java new file mode 100644 index 00000000..09305278 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_deletejob_jobname_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.JobName; +import com.google.protobuf.Empty; + +public class SyncDeleteJobJobname { + + public static void main(String[] args) throws Exception { + syncDeleteJobJobname(); + } + + public static void syncDeleteJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + cloudSchedulerClient.deleteJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_deletejob_jobname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java new file mode 100644 index 00000000..d9aca0cf --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_deletejob_string_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.JobName; +import com.google.protobuf.Empty; + +public class SyncDeleteJobString { + + public static void main(String[] args) throws Exception { + syncDeleteJobString(); + } + + public static void syncDeleteJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + cloudSchedulerClient.deleteJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_deletejob_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java new file mode 100644 index 00000000..4bba66b0 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_getjob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.GetJobRequest; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class AsyncGetJob { + + public static void main(String[] args) throws Exception { + asyncGetJob(); + } + + public static void asyncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + GetJobRequest request = + GetJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.getJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_getjob_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java new file mode 100644 index 00000000..252599db --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_getjob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.GetJobRequest; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncGetJob { + + public static void main(String[] args) throws Exception { + syncGetJob(); + } + + public static void syncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + GetJobRequest request = + GetJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.getJob(request); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_getjob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java new file mode 100644 index 00000000..b9f31172 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_getjob_jobname_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncGetJobJobname { + + public static void main(String[] args) throws Exception { + syncGetJobJobname(); + } + + public static void syncGetJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.getJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_getjob_jobname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java new file mode 100644 index 00000000..afacfa88 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_getjob_string_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncGetJobString { + + public static void main(String[] args) throws Exception { + syncGetJobString(); + } + + public static void syncGetJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.getJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_getjob_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java new file mode 100644 index 00000000..589e7cbf --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_listjobs_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.ListJobsRequest; +import com.google.cloud.scheduler.v1.LocationName; + +public class AsyncListJobs { + + public static void main(String[] args) throws Exception { + asyncListJobs(); + } + + public static void asyncListJobs() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ListJobsRequest request = + ListJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = cloudSchedulerClient.listJobsPagedCallable().futureCall(request); + // Do something. + for (Job element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_listjobs_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java new file mode 100644 index 00000000..947a54f3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java @@ -0,0 +1,58 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_listjobs_paged_async] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.ListJobsRequest; +import com.google.cloud.scheduler.v1.ListJobsResponse; +import com.google.cloud.scheduler.v1.LocationName; +import com.google.common.base.Strings; + +public class AsyncListJobsPaged { + + public static void main(String[] args) throws Exception { + asyncListJobsPaged(); + } + + public static void asyncListJobsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ListJobsRequest request = + ListJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request); + for (Job element : response.getJobsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_listjobs_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java new file mode 100644 index 00000000..d9c021c6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_listjobs_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.ListJobsRequest; +import com.google.cloud.scheduler.v1.LocationName; + +public class SyncListJobs { + + public static void main(String[] args) throws Exception { + syncListJobs(); + } + + public static void syncListJobs() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ListJobsRequest request = + ListJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Job element : cloudSchedulerClient.listJobs(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_listjobs_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java new file mode 100644 index 00000000..a1f499eb --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_listjobs_locationname_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.LocationName; + +public class SyncListJobsLocationname { + + public static void main(String[] args) throws Exception { + syncListJobsLocationname(); + } + + public static void syncListJobsLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (Job element : cloudSchedulerClient.listJobs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_listjobs_locationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java new file mode 100644 index 00000000..9c0ed249 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_listjobs_string_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.LocationName; + +public class SyncListJobsString { + + public static void main(String[] args) throws Exception { + syncListJobsString(); + } + + public static void syncListJobsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (Job element : cloudSchedulerClient.listJobs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_listjobs_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java new file mode 100644 index 00000000..58daeda4 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_pausejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; +import com.google.cloud.scheduler.v1.PauseJobRequest; + +public class AsyncPauseJob { + + public static void main(String[] args) throws Exception { + asyncPauseJob(); + } + + public static void asyncPauseJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + PauseJobRequest request = + PauseJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.pauseJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_pausejob_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java new file mode 100644 index 00000000..7990b740 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_pausejob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; +import com.google.cloud.scheduler.v1.PauseJobRequest; + +public class SyncPauseJob { + + public static void main(String[] args) throws Exception { + syncPauseJob(); + } + + public static void syncPauseJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + PauseJobRequest request = + PauseJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.pauseJob(request); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_pausejob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java new file mode 100644 index 00000000..0a917b56 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_pausejob_jobname_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncPauseJobJobname { + + public static void main(String[] args) throws Exception { + syncPauseJobJobname(); + } + + public static void syncPauseJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.pauseJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_pausejob_jobname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java new file mode 100644 index 00000000..d769eac9 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_pausejob_string_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncPauseJobString { + + public static void main(String[] args) throws Exception { + syncPauseJobString(); + } + + public static void syncPauseJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.pauseJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_pausejob_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java new file mode 100644 index 00000000..f5613616 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_resumejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; +import com.google.cloud.scheduler.v1.ResumeJobRequest; + +public class AsyncResumeJob { + + public static void main(String[] args) throws Exception { + asyncResumeJob(); + } + + public static void asyncResumeJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ResumeJobRequest request = + ResumeJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.resumeJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_resumejob_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java new file mode 100644 index 00000000..95a3d43d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_resumejob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; +import com.google.cloud.scheduler.v1.ResumeJobRequest; + +public class SyncResumeJob { + + public static void main(String[] args) throws Exception { + syncResumeJob(); + } + + public static void syncResumeJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ResumeJobRequest request = + ResumeJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.resumeJob(request); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_resumejob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java new file mode 100644 index 00000000..ce1b7b19 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_resumejob_jobname_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncResumeJobJobname { + + public static void main(String[] args) throws Exception { + syncResumeJobJobname(); + } + + public static void syncResumeJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.resumeJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_resumejob_jobname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java new file mode 100644 index 00000000..28f1e4ef --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_resumejob_string_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncResumeJobString { + + public static void main(String[] args) throws Exception { + syncResumeJobString(); + } + + public static void syncResumeJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.resumeJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_resumejob_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java new file mode 100644 index 00000000..14620fe3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_runjob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; +import com.google.cloud.scheduler.v1.RunJobRequest; + +public class AsyncRunJob { + + public static void main(String[] args) throws Exception { + asyncRunJob(); + } + + public static void asyncRunJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + RunJobRequest request = + RunJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.runJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_runjob_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java new file mode 100644 index 00000000..01b89f64 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_runjob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; +import com.google.cloud.scheduler.v1.RunJobRequest; + +public class SyncRunJob { + + public static void main(String[] args) throws Exception { + syncRunJob(); + } + + public static void syncRunJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + RunJobRequest request = + RunJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.runJob(request); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_runjob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java new file mode 100644 index 00000000..04d06d48 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_runjob_jobname_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncRunJobJobname { + + public static void main(String[] args) throws Exception { + syncRunJobJobname(); + } + + public static void syncRunJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.runJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_runjob_jobname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java new file mode 100644 index 00000000..19f2a4df --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_runjob_string_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.JobName; + +public class SyncRunJobString { + + public static void main(String[] args) throws Exception { + syncRunJobString(); + } + + public static void syncRunJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.runJob(name); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_runjob_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java new file mode 100644 index 00000000..22d735bf --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_updatejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.UpdateJobRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateJob { + + public static void main(String[] args) throws Exception { + asyncUpdateJob(); + } + + public static void asyncUpdateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + UpdateJobRequest request = + UpdateJobRequest.newBuilder() + .setJob(Job.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = cloudSchedulerClient.updateJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_updatejob_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java new file mode 100644 index 00000000..a8c9484e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_updatejob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.cloud.scheduler.v1.UpdateJobRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateJob { + + public static void main(String[] args) throws Exception { + syncUpdateJob(); + } + + public static void syncUpdateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + UpdateJobRequest request = + UpdateJobRequest.newBuilder() + .setJob(Job.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Job response = cloudSchedulerClient.updateJob(request); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_updatejob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java new file mode 100644 index 00000000..f84b4663 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulerclient_updatejob_jobfieldmask_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1.Job; +import com.google.protobuf.FieldMask; + +public class SyncUpdateJobJobFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateJobJobFieldmask(); + } + + public static void syncUpdateJobJobFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + Job job = Job.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Job response = cloudSchedulerClient.updateJob(job, updateMask); + } + } +} +// [END scheduler_v1_generated_cloudschedulerclient_updatejob_jobfieldmask_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java new file mode 100644 index 00000000..ee4ff1f1 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.samples; + +// [START scheduler_v1_generated_cloudschedulersettings_getjob_sync] +import com.google.cloud.scheduler.v1.CloudSchedulerSettings; +import java.time.Duration; + +public class SyncGetJob { + + public static void main(String[] args) throws Exception { + syncGetJob(); + } + + public static void syncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings.Builder cloudSchedulerSettingsBuilder = + CloudSchedulerSettings.newBuilder(); + cloudSchedulerSettingsBuilder + .getJobSettings() + .setRetrySettings( + cloudSchedulerSettingsBuilder + .getJobSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + CloudSchedulerSettings cloudSchedulerSettings = cloudSchedulerSettingsBuilder.build(); + } +} +// [END scheduler_v1_generated_cloudschedulersettings_getjob_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java new file mode 100644 index 00000000..7a3b7e18 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1.stub.samples; + +// [START scheduler_v1_generated_cloudschedulerstubsettings_getjob_sync] +import com.google.cloud.scheduler.v1.stub.CloudSchedulerStubSettings; +import java.time.Duration; + +public class SyncGetJob { + + public static void main(String[] args) throws Exception { + syncGetJob(); + } + + public static void syncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerStubSettings.Builder cloudSchedulerSettingsBuilder = + CloudSchedulerStubSettings.newBuilder(); + cloudSchedulerSettingsBuilder + .getJobSettings() + .setRetrySettings( + cloudSchedulerSettingsBuilder + .getJobSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + CloudSchedulerStubSettings cloudSchedulerSettings = cloudSchedulerSettingsBuilder.build(); + } +} +// [END scheduler_v1_generated_cloudschedulerstubsettings_getjob_sync] diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java similarity index 97% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java index e8c28b1f..ef6ce6bc 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java +++ b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java @@ -59,13 +59,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -100,6 +100,20 @@ * CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); * }
* + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * CloudSchedulerSettings cloudSchedulerSettings =
+ *     CloudSchedulerSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             CloudSchedulerSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java similarity index 89% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java index 5efcdb40..51d5f5ea 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java @@ -23,10 +23,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.scheduler.v1beta1.stub.CloudSchedulerStubSettings; @@ -42,10 +44,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are + *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -140,11 +142,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return CloudSchedulerStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return CloudSchedulerStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return CloudSchedulerStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return CloudSchedulerStubSettings.defaultTransportChannelProvider(); } @@ -154,11 +163,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return CloudSchedulerStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -196,6 +211,11 @@ private static Builder createDefault() { return new Builder(CloudSchedulerStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(CloudSchedulerStubSettings.newHttpJsonBuilder()); + } + public CloudSchedulerStubSettings.Builder getStubSettingsBuilder() { return ((CloudSchedulerStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java similarity index 89% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java index 3d342c62..7d251ed8 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java +++ b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java @@ -27,6 +27,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -67,10 +70,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are + *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -211,6 +214,11 @@ public CloudSchedulerStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcCloudSchedulerStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonCloudSchedulerStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -243,18 +251,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(CloudSchedulerStubSettings.class)) @@ -262,11 +277,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(CloudSchedulerStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return CloudSchedulerStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -412,6 +446,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .listJobsSettings() diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java similarity index 100% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java diff --git a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java similarity index 99% rename from google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java index f4ee550c..a0ae3ad8 100644 --- a/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java +++ b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java @@ -41,6 +41,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java new file mode 100644 index 00000000..1e6b5fe2 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the CloudScheduler service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonCloudSchedulerCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java new file mode 100644 index 00000000..f23fb043 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java @@ -0,0 +1,554 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.stub; + +import static com.google.cloud.scheduler.v1beta1.CloudSchedulerClient.ListJobsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.scheduler.v1beta1.CreateJobRequest; +import com.google.cloud.scheduler.v1beta1.DeleteJobRequest; +import com.google.cloud.scheduler.v1beta1.GetJobRequest; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.ListJobsRequest; +import com.google.cloud.scheduler.v1beta1.ListJobsResponse; +import com.google.cloud.scheduler.v1beta1.PauseJobRequest; +import com.google.cloud.scheduler.v1beta1.ResumeJobRequest; +import com.google.cloud.scheduler.v1beta1.RunJobRequest; +import com.google.cloud.scheduler.v1beta1.UpdateJobRequest; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the CloudScheduler service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonCloudSchedulerStub extends CloudSchedulerStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listJobsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/ListJobs") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*}/jobs", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListJobsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/GetJob") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/CreateJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*}/jobs", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("job", request.getJob())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/UpdateJob") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{job.name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "job.name", request.getJob().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("job", request.getJob())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/DeleteJob") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/jobs/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor pauseJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/PauseJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/jobs/*}:pause", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor resumeJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/ResumeJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/jobs/*}:resume", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor runJobMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.scheduler.v1beta1.CloudScheduler/RunJob") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/jobs/*}:run", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Job.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listJobsCallable; + private final UnaryCallable listJobsPagedCallable; + private final UnaryCallable getJobCallable; + private final UnaryCallable createJobCallable; + private final UnaryCallable updateJobCallable; + private final UnaryCallable deleteJobCallable; + private final UnaryCallable pauseJobCallable; + private final UnaryCallable resumeJobCallable; + private final UnaryCallable runJobCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonCloudSchedulerStub create(CloudSchedulerStubSettings settings) + throws IOException { + return new HttpJsonCloudSchedulerStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonCloudSchedulerStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonCloudSchedulerStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonCloudSchedulerStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonCloudSchedulerCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonCloudSchedulerStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonCloudSchedulerStub( + CloudSchedulerStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings listJobsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listJobsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings pauseJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(pauseJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings resumeJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(resumeJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings runJobTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(runJobMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listJobsCallable = + callableFactory.createUnaryCallable( + listJobsTransportSettings, settings.listJobsSettings(), clientContext); + this.listJobsPagedCallable = + callableFactory.createPagedCallable( + listJobsTransportSettings, settings.listJobsSettings(), clientContext); + this.getJobCallable = + callableFactory.createUnaryCallable( + getJobTransportSettings, settings.getJobSettings(), clientContext); + this.createJobCallable = + callableFactory.createUnaryCallable( + createJobTransportSettings, settings.createJobSettings(), clientContext); + this.updateJobCallable = + callableFactory.createUnaryCallable( + updateJobTransportSettings, settings.updateJobSettings(), clientContext); + this.deleteJobCallable = + callableFactory.createUnaryCallable( + deleteJobTransportSettings, settings.deleteJobSettings(), clientContext); + this.pauseJobCallable = + callableFactory.createUnaryCallable( + pauseJobTransportSettings, settings.pauseJobSettings(), clientContext); + this.resumeJobCallable = + callableFactory.createUnaryCallable( + resumeJobTransportSettings, settings.resumeJobSettings(), clientContext); + this.runJobCallable = + callableFactory.createUnaryCallable( + runJobTransportSettings, settings.runJobSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listJobsMethodDescriptor); + methodDescriptors.add(getJobMethodDescriptor); + methodDescriptors.add(createJobMethodDescriptor); + methodDescriptors.add(updateJobMethodDescriptor); + methodDescriptors.add(deleteJobMethodDescriptor); + methodDescriptors.add(pauseJobMethodDescriptor); + methodDescriptors.add(resumeJobMethodDescriptor); + methodDescriptors.add(runJobMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable listJobsCallable() { + return listJobsCallable; + } + + @Override + public UnaryCallable listJobsPagedCallable() { + return listJobsPagedCallable; + } + + @Override + public UnaryCallable getJobCallable() { + return getJobCallable; + } + + @Override + public UnaryCallable createJobCallable() { + return createJobCallable; + } + + @Override + public UnaryCallable updateJobCallable() { + return updateJobCallable; + } + + @Override + public UnaryCallable deleteJobCallable() { + return deleteJobCallable; + } + + @Override + public UnaryCallable pauseJobCallable() { + return pauseJobCallable; + } + + @Override + public UnaryCallable resumeJobCallable() { + return resumeJobCallable; + } + + @Override + public UnaryCallable runJobCallable() { + return runJobCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java new file mode 100644 index 00000000..a336c188 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java @@ -0,0 +1,875 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1; + +import static com.google.cloud.scheduler.v1beta1.CloudSchedulerClient.ListJobsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.scheduler.v1beta1.stub.HttpJsonCloudSchedulerStub; +import com.google.common.collect.Lists; +import com.google.protobuf.Duration; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import com.google.rpc.Status; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class CloudSchedulerClientHttpJsonTest { + private static MockHttpService mockService; + private static CloudSchedulerClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonCloudSchedulerStub.getMethodDescriptors(), + CloudSchedulerSettings.getDefaultEndpoint()); + CloudSchedulerSettings settings = + CloudSchedulerSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + CloudSchedulerSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = CloudSchedulerClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listJobsTest() throws Exception { + Job responsesElement = Job.newBuilder().build(); + ListJobsResponse expectedResponse = + ListJobsResponse.newBuilder() + .setNextPageToken("") + .addAllJobs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListJobsPagedResponse pagedListResponse = client.listJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listJobsTest2() throws Exception { + Job responsesElement = Job.newBuilder().build(); + ListJobsResponse expectedResponse = + ListJobsResponse.newBuilder() + .setNextPageToken("") + .addAllJobs(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListJobsPagedResponse pagedListResponse = client.listJobs(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getJobsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listJobsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listJobs(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.getJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.getJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.getJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.getJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + + Job actualResponse = client.createJob(parent, job); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + client.createJob(parent, job); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Job job = Job.newBuilder().build(); + + Job actualResponse = client.createJob(parent, job); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Job job = Job.newBuilder().build(); + client.createJob(parent, job); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Job job = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Job actualResponse = client.updateJob(job, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Job job = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateJob(job, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + client.deleteJob(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.deleteJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteJobTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + client.deleteJob(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.deleteJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.pauseJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.pauseJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pauseJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.pauseJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pauseJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.pauseJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.resumeJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.resumeJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resumeJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.resumeJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resumeJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.resumeJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runJobTest() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + + Job actualResponse = client.runJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runJobExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + client.runJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void runJobTest2() throws Exception { + Job expectedResponse = + Job.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .setDescription("description-1724546052") + .setSchedule("schedule-697920873") + .setTimeZone("timeZone-2077180903") + .setUserUpdateTime(Timestamp.newBuilder().build()) + .setStatus(Status.newBuilder().build()) + .setScheduleTime(Timestamp.newBuilder().build()) + .setLastAttemptTime(Timestamp.newBuilder().build()) + .setRetryConfig(RetryConfig.newBuilder().build()) + .setAttemptDeadline(Duration.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + + Job actualResponse = client.runJob(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void runJobExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-3306/locations/location-3306/jobs/job-3306"; + client.runJob(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java similarity index 100% rename from google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java diff --git a/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java similarity index 100% rename from google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java diff --git a/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java b/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java similarity index 100% rename from google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java rename to owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java diff --git a/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java similarity index 50% rename from grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java rename to owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java index a54ae6b7..36255c51 100644 --- a/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java +++ b/owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.scheduler.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * The Cloud Scheduler API allows external entities to reliably
  * schedule asynchronous jobs.
@@ -36,454 +19,337 @@ private CloudSchedulerGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.scheduler.v1beta1.CloudScheduler";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.ListJobsRequest,
-          com.google.cloud.scheduler.v1beta1.ListJobsResponse>
-      getListJobsMethod;
+  private static volatile io.grpc.MethodDescriptor getListJobsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListJobs",
       requestType = com.google.cloud.scheduler.v1beta1.ListJobsRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.ListJobsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.ListJobsRequest,
-          com.google.cloud.scheduler.v1beta1.ListJobsResponse>
-      getListJobsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.ListJobsRequest,
-            com.google.cloud.scheduler.v1beta1.ListJobsResponse>
-        getListJobsMethod;
+  public static io.grpc.MethodDescriptor getListJobsMethod() {
+    io.grpc.MethodDescriptor getListJobsMethod;
     if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
-          CloudSchedulerGrpc.getListJobsMethod =
-              getListJobsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.ListJobsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.ListJobsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
-                      .build();
+          CloudSchedulerGrpc.getListJobsMethod = getListJobsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.ListJobsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.ListJobsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
+              .build();
         }
       }
     }
     return getListJobsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.GetJobRequest, com.google.cloud.scheduler.v1beta1.Job>
-      getGetJobMethod;
+  private static volatile io.grpc.MethodDescriptor getGetJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetJob",
       requestType = com.google.cloud.scheduler.v1beta1.GetJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.GetJobRequest, com.google.cloud.scheduler.v1beta1.Job>
-      getGetJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.GetJobRequest,
-            com.google.cloud.scheduler.v1beta1.Job>
-        getGetJobMethod;
+  public static io.grpc.MethodDescriptor getGetJobMethod() {
+    io.grpc.MethodDescriptor getGetJobMethod;
     if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
-          CloudSchedulerGrpc.getGetJobMethod =
-              getGetJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.GetJobRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
-                      .build();
+          CloudSchedulerGrpc.getGetJobMethod = getGetJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.GetJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
+              .build();
         }
       }
     }
     return getGetJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.CreateJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getCreateJobMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateJob",
       requestType = com.google.cloud.scheduler.v1beta1.CreateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.CreateJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getCreateJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.CreateJobRequest,
-            com.google.cloud.scheduler.v1beta1.Job>
-        getCreateJobMethod;
+  public static io.grpc.MethodDescriptor getCreateJobMethod() {
+    io.grpc.MethodDescriptor getCreateJobMethod;
     if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
-          CloudSchedulerGrpc.getCreateJobMethod =
-              getCreateJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.CreateJobRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
-                      .build();
+          CloudSchedulerGrpc.getCreateJobMethod = getCreateJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.CreateJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
+              .build();
         }
       }
     }
     return getCreateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.UpdateJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getUpdateJobMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateJob",
       requestType = com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.UpdateJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getUpdateJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.UpdateJobRequest,
-            com.google.cloud.scheduler.v1beta1.Job>
-        getUpdateJobMethod;
+  public static io.grpc.MethodDescriptor getUpdateJobMethod() {
+    io.grpc.MethodDescriptor getUpdateJobMethod;
     if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
-          CloudSchedulerGrpc.getUpdateJobMethod =
-              getUpdateJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.UpdateJobRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
-                      .build();
+          CloudSchedulerGrpc.getUpdateJobMethod = getUpdateJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.UpdateJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
+              .build();
         }
       }
     }
     return getUpdateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.DeleteJobRequest, com.google.protobuf.Empty>
-      getDeleteJobMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteJob",
       requestType = com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.DeleteJobRequest, com.google.protobuf.Empty>
-      getDeleteJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.DeleteJobRequest, com.google.protobuf.Empty>
-        getDeleteJobMethod;
+  public static io.grpc.MethodDescriptor getDeleteJobMethod() {
+    io.grpc.MethodDescriptor getDeleteJobMethod;
     if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
-          CloudSchedulerGrpc.getDeleteJobMethod =
-              getDeleteJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.DeleteJobRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
-                      .build();
+          CloudSchedulerGrpc.getDeleteJobMethod = getDeleteJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.DeleteJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
+              .build();
         }
       }
     }
     return getDeleteJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.PauseJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getPauseJobMethod;
+  private static volatile io.grpc.MethodDescriptor getPauseJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseJob",
       requestType = com.google.cloud.scheduler.v1beta1.PauseJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.PauseJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getPauseJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.PauseJobRequest,
-            com.google.cloud.scheduler.v1beta1.Job>
-        getPauseJobMethod;
+  public static io.grpc.MethodDescriptor getPauseJobMethod() {
+    io.grpc.MethodDescriptor getPauseJobMethod;
     if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
-          CloudSchedulerGrpc.getPauseJobMethod =
-              getPauseJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.PauseJobRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
-                      .build();
+          CloudSchedulerGrpc.getPauseJobMethod = getPauseJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.PauseJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
+              .build();
         }
       }
     }
     return getPauseJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.ResumeJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getResumeJobMethod;
+  private static volatile io.grpc.MethodDescriptor getResumeJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeJob",
       requestType = com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.ResumeJobRequest,
-          com.google.cloud.scheduler.v1beta1.Job>
-      getResumeJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.ResumeJobRequest,
-            com.google.cloud.scheduler.v1beta1.Job>
-        getResumeJobMethod;
+  public static io.grpc.MethodDescriptor getResumeJobMethod() {
+    io.grpc.MethodDescriptor getResumeJobMethod;
     if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
-          CloudSchedulerGrpc.getResumeJobMethod =
-              getResumeJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.ResumeJobRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
-                      .build();
+          CloudSchedulerGrpc.getResumeJobMethod = getResumeJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.ResumeJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
+              .build();
         }
       }
     }
     return getResumeJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.RunJobRequest, com.google.cloud.scheduler.v1beta1.Job>
-      getRunJobMethod;
+  private static volatile io.grpc.MethodDescriptor getRunJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunJob",
       requestType = com.google.cloud.scheduler.v1beta1.RunJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.scheduler.v1beta1.RunJobRequest, com.google.cloud.scheduler.v1beta1.Job>
-      getRunJobMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.scheduler.v1beta1.RunJobRequest,
-            com.google.cloud.scheduler.v1beta1.Job>
-        getRunJobMethod;
+  public static io.grpc.MethodDescriptor getRunJobMethod() {
+    io.grpc.MethodDescriptor getRunJobMethod;
     if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
-          CloudSchedulerGrpc.getRunJobMethod =
-              getRunJobMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.RunJobRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
-                      .build();
+          CloudSchedulerGrpc.getRunJobMethod = getRunJobMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.RunJobRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
+              .build();
         }
       }
     }
     return getRunJobMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static CloudSchedulerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudSchedulerStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudSchedulerStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudSchedulerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudSchedulerStub(channel, callOptions);
+        }
+      };
     return CloudSchedulerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudSchedulerBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static CloudSchedulerBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudSchedulerBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudSchedulerBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudSchedulerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudSchedulerBlockingStub(channel, callOptions);
+        }
+      };
     return CloudSchedulerBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static CloudSchedulerFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static CloudSchedulerFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public CloudSchedulerFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new CloudSchedulerFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public CloudSchedulerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new CloudSchedulerFutureStub(channel, callOptions);
+        }
+      };
     return CloudSchedulerFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public abstract static class CloudSchedulerImplBase implements io.grpc.BindableService { + public static abstract class CloudSchedulerImplBase implements io.grpc.BindableService { /** - * - * *
      * Lists jobs.
      * 
*/ - public void listJobs( - com.google.cloud.scheduler.v1beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** - * - * *
      * Gets a job.
      * 
*/ - public void getJob( - com.google.cloud.scheduler.v1beta1.GetJobRequest request, + public void getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** - * - * *
      * Creates a job.
      * 
*/ - public void createJob( - com.google.cloud.scheduler.v1beta1.CreateJobRequest request, + public void createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -494,28 +360,22 @@ public void createJob(
      * until a successful response is received.
      * 
*/ - public void updateJob( - com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, + public void updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** - * - * *
      * Deletes a job.
      * 
*/ - public void deleteJob( - com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, + public void deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** - * - * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -525,15 +385,12 @@ public void deleteJob(
      * to be paused.
      * 
*/ - public void pauseJob( - com.google.cloud.scheduler.v1beta1.PauseJobRequest request, + public void pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseJobMethod(), responseObserver); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -542,148 +399,137 @@ public void pauseJob(
      * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob( - com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, + public void resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeJobMethod(), responseObserver); } /** - * - * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob( - com.google.cloud.scheduler.v1beta1.RunJobRequest request, + public void runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunJobMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.ListJobsRequest, - com.google.cloud.scheduler.v1beta1.ListJobsResponse>( - this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.ListJobsRequest, + com.google.cloud.scheduler.v1beta1.ListJobsResponse>( + this, METHODID_LIST_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.GetJobRequest, - com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.GetJobRequest, + com.google.cloud.scheduler.v1beta1.Job>( + this, METHODID_GET_JOB))) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.CreateJobRequest, - com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.CreateJobRequest, + com.google.cloud.scheduler.v1beta1.Job>( + this, METHODID_CREATE_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.UpdateJobRequest, - com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.UpdateJobRequest, + com.google.cloud.scheduler.v1beta1.Job>( + this, METHODID_UPDATE_JOB))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.DeleteJobRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.DeleteJobRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) .addMethod( - getPauseJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.PauseJobRequest, - com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_PAUSE_JOB))) + getPauseJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.PauseJobRequest, + com.google.cloud.scheduler.v1beta1.Job>( + this, METHODID_PAUSE_JOB))) .addMethod( - getResumeJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.ResumeJobRequest, - com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_RESUME_JOB))) + getResumeJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.ResumeJobRequest, + com.google.cloud.scheduler.v1beta1.Job>( + this, METHODID_RESUME_JOB))) .addMethod( - getRunJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.RunJobRequest, - com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_RUN_JOB))) + getRunJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.RunJobRequest, + com.google.cloud.scheduler.v1beta1.Job>( + this, METHODID_RUN_JOB))) .build(); } } /** - * - * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerStub - extends io.grpc.stub.AbstractAsyncStub { - private CloudSchedulerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerStub extends io.grpc.stub.AbstractAsyncStub { + private CloudSchedulerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudSchedulerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudSchedulerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudSchedulerStub(channel, callOptions); } /** - * - * *
      * Lists jobs.
      * 
*/ - public void listJobs( - com.google.cloud.scheduler.v1beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets a job.
      * 
*/ - public void getJob( - com.google.cloud.scheduler.v1beta1.GetJobRequest request, + public void getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a job.
      * 
*/ - public void createJob( - com.google.cloud.scheduler.v1beta1.CreateJobRequest request, + public void createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -694,30 +540,24 @@ public void createJob(
      * until a successful response is received.
      * 
*/ - public void updateJob( - com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, + public void updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes a job.
      * 
*/ - public void deleteJob( - com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, + public void deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -727,16 +567,13 @@ public void deleteJob(
      * to be paused.
      * 
*/ - public void pauseJob( - com.google.cloud.scheduler.v1beta1.PauseJobRequest request, + public void pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -745,24 +582,20 @@ public void pauseJob(
      * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob( - com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, + public void resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getResumeJobMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob( - com.google.cloud.scheduler.v1beta1.RunJobRequest request, + public void runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request, responseObserver); @@ -770,16 +603,14 @@ public void runJob( } /** - * - * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private CloudSchedulerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private CloudSchedulerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -790,47 +621,36 @@ protected CloudSchedulerBlockingStub build( } /** - * - * *
      * Lists jobs.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.ListJobsResponse listJobs( - com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { + public com.google.cloud.scheduler.v1beta1.ListJobsResponse listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** - * - * *
      * Gets a job.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job getJob( - com.google.cloud.scheduler.v1beta1.GetJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetJobMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a job.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job createJob( - com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -841,28 +661,22 @@ public com.google.cloud.scheduler.v1beta1.Job createJob(
      * until a successful response is received.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job updateJob( - com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes a job.
      * 
*/ - public com.google.protobuf.Empty deleteJob( - com.google.cloud.scheduler.v1beta1.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** - * - * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -872,15 +686,12 @@ public com.google.protobuf.Empty deleteJob(
      * to be paused.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job pauseJob( - com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseJobMethod(), getCallOptions(), request); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -889,39 +700,33 @@ public com.google.cloud.scheduler.v1beta1.Job pauseJob(
      * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job resumeJob( - com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeJobMethod(), getCallOptions(), request); } /** - * - * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job runJob( - com.google.cloud.scheduler.v1beta1.RunJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunJobMethod(), getCallOptions(), request); } } /** - * - * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private CloudSchedulerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerFutureStub extends io.grpc.stub.AbstractFutureStub { + private CloudSchedulerFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -932,50 +737,39 @@ protected CloudSchedulerFutureStub build( } /** - * - * *
      * Lists jobs.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.scheduler.v1beta1.ListJobsResponse> - listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** - * - * *
      * Gets a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.scheduler.v1beta1.Job> - getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.scheduler.v1beta1.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.scheduler.v1beta1.Job> - createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -986,16 +780,13 @@ protected CloudSchedulerFutureStub build(
      * until a successful response is received.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.scheduler.v1beta1.Job> - updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateJob( + com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes a job.
      * 
@@ -1007,8 +798,6 @@ public com.google.common.util.concurrent.ListenableFuture * Pauses a job. * If a job is paused then the system will stop executing the job @@ -1018,16 +807,13 @@ public com.google.common.util.concurrent.ListenableFuture */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.scheduler.v1beta1.Job> - pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture pauseJob( + com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request); } /** - * - * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -1036,25 +822,21 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture<
-            com.google.cloud.scheduler.v1beta1.Job>
-        resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture resumeJob(
+        com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeJobMethod(), getCallOptions()), request);
     }
 
     /**
-     *
-     *
      * 
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.scheduler.v1beta1.Job> - runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture runJob( + com.google.cloud.scheduler.v1beta1.RunJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request); } @@ -1069,11 +851,11 @@ public com.google.common.util.concurrent.ListenableFuture - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CloudSchedulerImplBase serviceImpl; private final int methodId; @@ -1087,51 +869,36 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_JOBS: - serviceImpl.listJobs( - (com.google.cloud.scheduler.v1beta1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.listJobs((com.google.cloud.scheduler.v1beta1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_JOB: - serviceImpl.getJob( - (com.google.cloud.scheduler.v1beta1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getJob((com.google.cloud.scheduler.v1beta1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_JOB: - serviceImpl.createJob( - (com.google.cloud.scheduler.v1beta1.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createJob((com.google.cloud.scheduler.v1beta1.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_JOB: - serviceImpl.updateJob( - (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.updateJob((com.google.cloud.scheduler.v1beta1.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_JOB: - serviceImpl.deleteJob( - (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) request, + serviceImpl.deleteJob((com.google.cloud.scheduler.v1beta1.DeleteJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PAUSE_JOB: - serviceImpl.pauseJob( - (com.google.cloud.scheduler.v1beta1.PauseJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.pauseJob((com.google.cloud.scheduler.v1beta1.PauseJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESUME_JOB: - serviceImpl.resumeJob( - (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.resumeJob((com.google.cloud.scheduler.v1beta1.ResumeJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RUN_JOB: - serviceImpl.runJob( - (com.google.cloud.scheduler.v1beta1.RunJobRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.runJob((com.google.cloud.scheduler.v1beta1.RunJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -1149,9 +916,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class CloudSchedulerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class CloudSchedulerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { CloudSchedulerBaseDescriptorSupplier() {} @java.lang.Override @@ -1193,19 +959,17 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CloudSchedulerGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) - .addMethod(getListJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getCreateJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getPauseJobMethod()) - .addMethod(getResumeJobMethod()) - .addMethod(getRunJobMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) + .addMethod(getListJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getCreateJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getPauseJobMethod()) + .addMethod(getResumeJobMethod()) + .addMethod(getRunJobMethod()) + .build(); } } } diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java similarity index 76% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java index bbc7a646..93519b98 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * App Engine target. The job will be pushed to a job handler by means
  * of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such
@@ -35,16 +18,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineHttpTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineHttpTarget() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -53,15 +35,16 @@ private AppEngineHttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -81,63 +64,56 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              int rawValue = input.readEnum();
+          case 8: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 18: {
+            com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder subBuilder = null;
+            if (appEngineRouting_ != null) {
+              subBuilder = appEngineRouting_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder subBuilder = null;
-              if (appEngineRouting_ != null) {
-                subBuilder = appEngineRouting_.toBuilder();
-              }
-              appEngineRouting_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1beta1.AppEngineRouting.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(appEngineRouting_);
-                appEngineRouting_ = subBuilder.buildPartial();
-              }
-
-              break;
+            appEngineRouting_ = input.readMessage(com.google.cloud.scheduler.v1beta1.AppEngineRouting.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(appEngineRouting_);
+              appEngineRouting_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              relativeUri_ = s;
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
-            }
-          case 42:
-            {
-              body_ = input.readBytes();
-              break;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            relativeUri_ = s;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 42: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -145,88 +121,75 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class,
-            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
-   *
-   *
    * 
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = - com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1beta1.AppEngineRouting appEngineRouting_; /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -234,25 +197,18 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null - ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } /** - * - * *
    * App Engine Routing setting for the job.
    * 
@@ -260,16 +216,13 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting() * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder - getAppEngineRoutingOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder() { return getAppEngineRouting(); } public static final int RELATIVE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object relativeUri_; /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -279,7 +232,6 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting()
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ @java.lang.Override @@ -288,15 +240,14 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -306,15 +257,16 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -323,23 +275,24 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } public static final int HEADERS_FIELD_NUMBER = 4; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.scheduler.v1beta1.TargetProto - .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -348,8 +301,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -379,22 +330,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -425,12 +376,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -461,16 +411,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -501,11 +451,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -515,8 +466,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -525,7 +474,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -534,7 +482,6 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -546,9 +493,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (httpMethod_ - != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -557,8 +504,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetHeaders(), + HeadersDefaultEntryHolder.defaultEntry, + 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -571,28 +522,30 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ - != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); + if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry : - internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry headers__ = - HeadersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); + for (java.util.Map.Entry entry + : internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry + headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -602,22 +555,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget other = - (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) obj; + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget other = (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri().equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; - if (!getBody().equals(other.getBody())) return false; + if (!getAppEngineRouting() + .equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri() + .equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals( + other.internalGetHeaders())) return false; + if (!getBody() + .equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -649,104 +605,96 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget prototype) { + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine target. The job will be pushed to a job handler by means
    * of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such
@@ -761,43 +709,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineHttpTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.AppEngineHttpTarget)
       com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class,
-              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.newBuilder()
@@ -805,15 +753,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -834,9 +783,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -855,8 +804,7 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget result =
-          new com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget(this);
+      com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget result = new com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -876,39 +824,38 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -916,8 +863,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance()) return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -928,7 +874,8 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -951,8 +898,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -961,74 +907,59 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
-     *
-     *
      * 
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = - com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1036,25 +967,22 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1beta1.HttpMethod value if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -1062,47 +990,34 @@ public Builder clearHttpMethod() { private com.google.cloud.scheduler.v1beta1.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineRouting, - com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, - com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> - appEngineRoutingBuilder_; + com.google.cloud.scheduler.v1beta1.AppEngineRouting, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; /** - * - * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ public com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null - ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1123,8 +1038,6 @@ public Builder setAppEngineRouting(com.google.cloud.scheduler.v1beta1.AppEngineR return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1143,22 +1056,17 @@ public Builder setAppEngineRouting( return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ - public Builder mergeAppEngineRouting( - com.google.cloud.scheduler.v1beta1.AppEngineRouting value) { + public Builder mergeAppEngineRouting(com.google.cloud.scheduler.v1beta1.AppEngineRouting value) { if (appEngineRoutingBuilder_ == null) { if (appEngineRouting_ != null) { appEngineRouting_ = - com.google.cloud.scheduler.v1beta1.AppEngineRouting.newBuilder(appEngineRouting_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.scheduler.v1beta1.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial(); } else { appEngineRouting_ = value; } @@ -1170,8 +1078,6 @@ public Builder mergeAppEngineRouting( return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1190,42 +1096,33 @@ public Builder clearAppEngineRouting() { return this; } /** - * - * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ - public com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder - getAppEngineRoutingBuilder() { - + public com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder getAppEngineRoutingBuilder() { + onChanged(); return getAppEngineRoutingFieldBuilder().getBuilder(); } /** - * - * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ - public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder - getAppEngineRoutingOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder() { if (appEngineRoutingBuilder_ != null) { return appEngineRoutingBuilder_.getMessageOrBuilder(); } else { - return appEngineRouting_ == null - ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() - : appEngineRouting_; + return appEngineRouting_ == null ? + com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; } } /** - * - * *
      * App Engine Routing setting for the job.
      * 
@@ -1233,17 +1130,14 @@ public Builder clearAppEngineRouting() { * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineRouting, - com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, - com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> + com.google.cloud.scheduler.v1beta1.AppEngineRouting, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> getAppEngineRoutingFieldBuilder() { if (appEngineRoutingBuilder_ == null) { - appEngineRoutingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineRouting, - com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, - com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder>( - getAppEngineRouting(), getParentForChildren(), isClean()); + appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.AppEngineRouting, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder>( + getAppEngineRouting(), + getParentForChildren(), + isClean()); appEngineRouting_ = null; } return appEngineRoutingBuilder_; @@ -1251,8 +1145,6 @@ public Builder clearAppEngineRouting() { private java.lang.Object relativeUri_ = ""; /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1262,13 +1154,13 @@ public Builder clearAppEngineRouting() {
      * 
* * string relative_uri = 3; - * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1277,8 +1169,6 @@ public java.lang.String getRelativeUri() { } } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1288,14 +1178,15 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString getRelativeUriBytes() { + public com.google.protobuf.ByteString + getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1303,8 +1194,6 @@ public com.google.protobuf.ByteString getRelativeUriBytes() { } } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1314,22 +1203,20 @@ public com.google.protobuf.ByteString getRelativeUriBytes() {
      * 
* * string relative_uri = 3; - * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri(java.lang.String value) { + public Builder setRelativeUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1339,18 +1226,15 @@ public Builder setRelativeUri(java.lang.String value) {
      * 
* * string relative_uri = 3; - * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** - * - * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1360,36 +1244,37 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; - * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1401,8 +1286,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1432,22 +1315,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1478,12 +1361,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1514,17 +1396,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1555,11 +1436,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1567,12 +1449,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1602,21 +1483,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1646,20 +1529,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1689,15 +1571,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 4;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1706,7 +1589,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 5; - * * @return The body. */ @java.lang.Override @@ -1714,8 +1596,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1724,22 +1604,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1748,18 +1625,17 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1769,12 +1645,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.AppEngineHttpTarget) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.AppEngineHttpTarget) private static final com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget(); } @@ -1783,16 +1659,16 @@ public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1807,4 +1683,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java similarity index 89% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java index 61abe1e0..902edae2 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java @@ -1,82 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface AppEngineHttpTargetOrBuilder - extends +public interface AppEngineHttpTargetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.AppEngineHttpTarget) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; - * * @return The httpMethod. */ com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod(); /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; - * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** - * - * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; - * * @return The appEngineRouting. */ com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting(); /** - * - * *
    * App Engine Routing setting for the job.
    * 
@@ -86,8 +56,6 @@ public interface AppEngineHttpTargetOrBuilder com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder(); /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -97,13 +65,10 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * string relative_uri = 3; - * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** - * - * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -113,14 +78,12 @@ public interface AppEngineHttpTargetOrBuilder
    * 
* * string relative_uri = 3; - * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString getRelativeUriBytes(); + com.google.protobuf.ByteString + getRelativeUriBytes(); /** - * - * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -152,8 +115,6 @@ public interface AppEngineHttpTargetOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -183,13 +144,15 @@ public interface AppEngineHttpTargetOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -219,10 +182,9 @@ public interface AppEngineHttpTargetOrBuilder
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -254,13 +216,11 @@ public interface AppEngineHttpTargetOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -290,11 +250,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -303,7 +263,6 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 5; - * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java similarity index 83% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java index 6269927f..12f43d14 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * App Engine Routing.
  * For more information about services, versions, and instances see
@@ -36,16 +19,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineRouting}
  */
-public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppEngineRouting extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -55,15 +37,16 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82,41 +65,37 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              service_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            service_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            version_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              instance_ = s;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            instance_ = s;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              host_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            host_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -124,33 +103,29 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.AppEngineRouting.class,
-            com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
+            com.google.cloud.scheduler.v1beta1.AppEngineRouting.class, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
-   *
-   *
    * 
    * App service.
    * By default, the job is sent to the service which is the default
@@ -158,7 +133,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service = 1; - * * @return The service. */ @java.lang.Override @@ -167,15 +141,14 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** - * - * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -183,15 +156,16 @@ public java.lang.String getService() {
    * 
* * string service = 1; - * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -202,8 +176,6 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -211,7 +183,6 @@ public com.google.protobuf.ByteString getServiceBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -220,15 +191,14 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -236,15 +206,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -255,8 +226,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -272,7 +241,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * string instance = 3; - * * @return The instance. */ @java.lang.Override @@ -281,15 +249,14 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -305,15 +272,16 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; - * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -324,8 +292,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -371,7 +337,6 @@ public com.google.protobuf.ByteString getInstanceBytes() {
    * 
* * string host = 4; - * * @return The host. */ @java.lang.Override @@ -380,15 +345,14 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -434,15 +398,16 @@ public java.lang.String getHost() {
    * 
* * string host = 4; - * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -451,7 +416,6 @@ public com.google.protobuf.ByteString getHostBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -463,7 +427,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -505,18 +470,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.AppEngineRouting other = - (com.google.cloud.scheduler.v1beta1.AppEngineRouting) obj; - - if (!getService().equals(other.getService())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstance().equals(other.getInstance())) return false; - if (!getHost().equals(other.getHost())) return false; + com.google.cloud.scheduler.v1beta1.AppEngineRouting other = (com.google.cloud.scheduler.v1beta1.AppEngineRouting) obj; + + if (!getService() + .equals(other.getService())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; + if (!getHost() + .equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -542,103 +510,96 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * App Engine Routing.
    * For more information about services, versions, and instances see
@@ -654,23 +615,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineRouting}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.AppEngineRouting)
       com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.AppEngineRouting.class,
-              com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
+              com.google.cloud.scheduler.v1beta1.AppEngineRouting.class, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.AppEngineRouting.newBuilder()
@@ -678,15 +637,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -702,9 +662,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -723,8 +683,7 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.AppEngineRouting buildPartial() {
-      com.google.cloud.scheduler.v1beta1.AppEngineRouting result =
-          new com.google.cloud.scheduler.v1beta1.AppEngineRouting(this);
+      com.google.cloud.scheduler.v1beta1.AppEngineRouting result = new com.google.cloud.scheduler.v1beta1.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -737,39 +696,38 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineRouting) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineRouting)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -777,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.AppEngineRouting other) {
-      if (other == com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance()) return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -814,8 +771,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.scheduler.v1beta1.AppEngineRouting) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.scheduler.v1beta1.AppEngineRouting) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -827,8 +783,6 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
-     *
-     *
      * 
      * App service.
      * By default, the job is sent to the service which is the default
@@ -836,13 +790,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; - * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -851,8 +805,6 @@ public java.lang.String getService() { } } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -860,14 +812,15 @@ public java.lang.String getService() {
      * 
* * string service = 1; - * * @return The bytes for service. */ - public com.google.protobuf.ByteString getServiceBytes() { + public com.google.protobuf.ByteString + getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); service_ = b; return b; } else { @@ -875,8 +828,6 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -884,22 +835,20 @@ public com.google.protobuf.ByteString getServiceBytes() {
      * 
* * string service = 1; - * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService(java.lang.String value) { + public Builder setService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -907,18 +856,15 @@ public Builder setService(java.lang.String value) {
      * 
* * string service = 1; - * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -926,16 +872,16 @@ public Builder clearService() {
      * 
* * string service = 1; - * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes(com.google.protobuf.ByteString value) { + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -943,8 +889,6 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -952,13 +896,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -967,8 +911,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -976,14 +918,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -991,8 +934,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -1000,22 +941,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -1023,18 +962,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -1042,16 +978,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1059,8 +995,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object instance_ = ""; /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1076,13 +1010,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance = 3; - * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1091,8 +1025,6 @@ public java.lang.String getInstance() { } } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1108,14 +1040,15 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; - * * @return The bytes for instance. */ - public com.google.protobuf.ByteString getInstanceBytes() { + public com.google.protobuf.ByteString + getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instance_ = b; return b; } else { @@ -1123,8 +1056,6 @@ public com.google.protobuf.ByteString getInstanceBytes() { } } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1140,22 +1071,20 @@ public com.google.protobuf.ByteString getInstanceBytes() {
      * 
* * string instance = 3; - * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance(java.lang.String value) { + public Builder setInstance( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1171,18 +1100,15 @@ public Builder setInstance(java.lang.String value) {
      * 
* * string instance = 3; - * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** - * - * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1198,16 +1124,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; - * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes(com.google.protobuf.ByteString value) { + public Builder setInstanceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1215,8 +1141,6 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { private java.lang.Object host_ = ""; /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1262,13 +1186,13 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) {
      * 
* * string host = 4; - * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1277,8 +1201,6 @@ public java.lang.String getHost() { } } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1324,14 +1246,15 @@ public java.lang.String getHost() {
      * 
* * string host = 4; - * * @return The bytes for host. */ - public com.google.protobuf.ByteString getHostBytes() { + public com.google.protobuf.ByteString + getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); host_ = b; return b; } else { @@ -1339,8 +1262,6 @@ public com.google.protobuf.ByteString getHostBytes() { } } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1386,22 +1307,20 @@ public com.google.protobuf.ByteString getHostBytes() {
      * 
* * string host = 4; - * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost(java.lang.String value) { + public Builder setHost( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1447,18 +1366,15 @@ public Builder setHost(java.lang.String value) {
      * 
* * string host = 4; - * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** - * - * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1504,23 +1420,23 @@ public Builder clearHost() {
      * 
* * string host = 4; - * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes(com.google.protobuf.ByteString value) { + public Builder setHostBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1530,12 +1446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.AppEngineRouting) private static final com.google.cloud.scheduler.v1beta1.AppEngineRouting DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.AppEngineRouting(); } @@ -1544,16 +1460,16 @@ public static com.google.cloud.scheduler.v1beta1.AppEngineRouting getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1568,4 +1484,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java similarity index 90% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java index 908273e9..21534e22 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface AppEngineRoutingOrBuilder - extends +public interface AppEngineRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -33,13 +15,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The service. */ java.lang.String getService(); /** - * - * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -47,14 +26,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string service = 1; - * * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -62,13 +39,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -76,14 +50,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -99,13 +71,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The instance. */ java.lang.String getInstance(); /** - * - * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -121,14 +90,12 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string instance = 3; - * * @return The bytes for instance. */ - com.google.protobuf.ByteString getInstanceBytes(); + com.google.protobuf.ByteString + getInstanceBytes(); /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -174,13 +141,10 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The host. */ java.lang.String getHost(); /** - * - * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -226,8 +190,8 @@ public interface AppEngineRoutingOrBuilder
    * 
* * string host = 4; - * * @return The bytes for host. */ - com.google.protobuf.ByteString getHostBytes(); + com.google.protobuf.ByteString + getHostBytes(); } diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java similarity index 70% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java index 2953754d..c01c654e 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.CreateJobRequest} */ -public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.CreateJobRequest) CreateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,36 +53,32 @@ private CreateJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); } - case 18: - { - com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = - input.readMessage( - com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } - - break; + job_ = input.readMessage(com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,42 +86,35 @@ private CreateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, - com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -151,32 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -187,8 +157,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1beta1.Job job_; /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -197,9 +165,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ @java.lang.Override @@ -207,8 +173,6 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -217,9 +181,7 @@ public boolean hasJob() {
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ @java.lang.Override @@ -227,8 +189,6 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -237,8 +197,7 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { @@ -246,7 +205,6 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +237,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getJob()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -288,18 +248,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.CreateJobRequest other = - (com.google.cloud.scheduler.v1beta1.CreateJobRequest) obj; + com.google.cloud.scheduler.v1beta1.CreateJobRequest other = (com.google.cloud.scheduler.v1beta1.CreateJobRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -324,126 +285,117 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.CreateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.CreateJobRequest) com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, - com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.CreateJobRequest.newBuilder() @@ -451,15 +403,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; } @java.lang.Override @@ -496,8 +449,7 @@ public com.google.cloud.scheduler.v1beta1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.CreateJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.CreateJobRequest result = - new com.google.cloud.scheduler.v1beta1.CreateJobRequest(this); + com.google.cloud.scheduler.v1beta1.CreateJobRequest result = new com.google.cloud.scheduler.v1beta1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -512,39 +464,38 @@ public com.google.cloud.scheduler.v1beta1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.CreateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.CreateJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -552,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.CreateJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.CreateJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.scheduler.v1beta1.CreateJobRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -580,8 +530,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.scheduler.v1beta1.CreateJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.scheduler.v1beta1.CreateJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -593,23 +542,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -618,24 +563,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -643,70 +585,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -714,13 +643,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.scheduler.v1beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -729,17 +653,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -748,9 +668,7 @@ public boolean hasJob() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.scheduler.v1beta1.Job getJob() { @@ -761,8 +679,6 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { } } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -771,8 +687,7 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { @@ -788,8 +703,6 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -798,10 +711,10 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -812,8 +725,6 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForV return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -822,16 +733,13 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForV
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -843,8 +751,6 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -853,8 +759,7 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -868,8 +773,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -878,17 +781,14 @@ public Builder clearJob() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -897,19 +797,17 @@ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -918,28 +816,24 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder> + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -949,12 +843,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.CreateJobRequest) private static final com.google.cloud.scheduler.v1beta1.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.CreateJobRequest(); } @@ -963,16 +857,16 @@ public static com.google.cloud.scheduler.v1beta1.CreateJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -987,4 +881,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java index 272307d5..1120ca25 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -65,15 +38,11 @@ public interface CreateJobRequestOrBuilder
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -82,15 +51,11 @@ public interface CreateJobRequestOrBuilder
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ com.google.cloud.scheduler.v1beta1.Job getJob(); /** - * - * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -99,8 +64,7 @@ public interface CreateJobRequestOrBuilder
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder(); } diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java similarity index 65% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java index 0c4f4710..8bca2740 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Request message for deleting a job using
  * [DeleteJob][google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.DeleteJobRequest}
  */
-public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteJobRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.DeleteJobRequest)
     DeleteJobRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteJobRequest.newBuilder() to construct.
   private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DeleteJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DeleteJobRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private DeleteJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class,
-            com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class, com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.DeleteJobRequest other = - (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) obj; + com.google.cloud.scheduler.v1beta1.DeleteJobRequest other = (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,103 +207,96 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for deleting a job using
    * [DeleteJob][google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.DeleteJobRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.DeleteJobRequest)
       com.google.cloud.scheduler.v1beta1.DeleteJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class,
-              com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class, com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.DeleteJobRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.scheduler.v1beta1.DeleteJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.DeleteJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1beta1.DeleteJobRequest result =
-          new com.google.cloud.scheduler.v1beta1.DeleteJobRequest(this);
+      com.google.cloud.scheduler.v1beta1.DeleteJobRequest result = new com.google.cloud.scheduler.v1beta1.DeleteJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.scheduler.v1beta1.DeleteJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.DeleteJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.DeleteJobRequest) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.DeleteJobRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.DeleteJobRequest other) {
-      if (other == com.google.cloud.scheduler.v1beta1.DeleteJobRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.scheduler.v1beta1.DeleteJobRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -477,8 +439,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -490,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -540,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.DeleteJobRequest) private static final com.google.cloud.scheduler.v1beta1.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.DeleteJobRequest(); } @@ -634,16 +575,16 @@ public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java new file mode 100644 index 00000000..c579f032 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface DeleteJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java similarity index 65% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java index 7d4dafc3..cff87fbd 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.GetJobRequest} */ -public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.GetJobRequest) GetJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.GetJobRequest.class, - com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.GetJobRequest.class, com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.GetJobRequest other = - (com.google.cloud.scheduler.v1beta1.GetJobRequest) obj; + com.google.cloud.scheduler.v1beta1.GetJobRequest other = (com.google.cloud.scheduler.v1beta1.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,127 +205,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.GetJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.GetJobRequest) com.google.cloud.scheduler.v1beta1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.GetJobRequest.class, - com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.GetJobRequest.class, com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.GetJobRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.scheduler.v1beta1.GetJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.GetJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.GetJobRequest result = - new com.google.cloud.scheduler.v1beta1.GetJobRequest(this); + com.google.cloud.scheduler.v1beta1.GetJobRequest result = new com.google.cloud.scheduler.v1beta1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.scheduler.v1beta1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.GetJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.GetJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.GetJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.GetJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.scheduler.v1beta1.GetJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -487,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -512,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -537,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -617,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.GetJobRequest) private static final com.google.cloud.scheduler.v1beta1.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.GetJobRequest(); } @@ -631,16 +573,16 @@ public static com.google.cloud.scheduler.v1beta1.GetJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java new file mode 100644 index 00000000..9d906ed8 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface GetJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java similarity index 69% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java index cdda2256..c15523a3 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * The HTTP method used to execute the job.
  * 
* * Protobuf enum {@code google.cloud.scheduler.v1beta1.HttpMethod} */ -public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -39,8 +21,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HTTP_METHOD_UNSPECIFIED(0), /** - * - * *
    * HTTP POST
    * 
@@ -49,8 +29,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ POST(1), /** - * - * *
    * HTTP GET
    * 
@@ -59,8 +37,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ GET(2), /** - * - * *
    * HTTP HEAD
    * 
@@ -69,8 +45,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ HEAD(3), /** - * - * *
    * HTTP PUT
    * 
@@ -79,8 +53,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PUT(4), /** - * - * *
    * HTTP DELETE
    * 
@@ -89,8 +61,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ DELETE(5), /** - * - * *
    * HTTP PATCH
    * 
@@ -99,8 +69,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ PATCH(6), /** - * - * *
    * HTTP OPTIONS
    * 
@@ -112,8 +80,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -122,8 +88,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** - * - * *
    * HTTP POST
    * 
@@ -132,8 +96,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POST_VALUE = 1; /** - * - * *
    * HTTP GET
    * 
@@ -142,8 +104,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GET_VALUE = 2; /** - * - * *
    * HTTP HEAD
    * 
@@ -152,8 +112,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEAD_VALUE = 3; /** - * - * *
    * HTTP PUT
    * 
@@ -162,8 +120,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PUT_VALUE = 4; /** - * - * *
    * HTTP DELETE
    * 
@@ -172,8 +128,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_VALUE = 5; /** - * - * *
    * HTTP PATCH
    * 
@@ -182,8 +136,6 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PATCH_VALUE = 6; /** - * - * *
    * HTTP OPTIONS
    * 
@@ -192,6 +144,7 @@ public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIONS_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -216,59 +169,54 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: - return HTTP_METHOD_UNSPECIFIED; - case 1: - return POST; - case 2: - return GET; - case 3: - return HEAD; - case 4: - return PUT; - case 5: - return DELETE; - case 6: - return PATCH; - case 7: - return OPTIONS; - default: - return null; + case 0: return HTTP_METHOD_UNSPECIFIED; + case 1: return POST; + case 2: return GET; + case 3: return HEAD; + case 4: return PUT; + case 5: return DELETE; + case 6: return PATCH; + case 7: return OPTIONS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpMethod> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -284,3 +232,4 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.scheduler.v1beta1.HttpMethod) } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java similarity index 76% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java index 09147008..37bb6475 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Http target. The job will be pushed to the job handler by means of
  * an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.HttpTarget}
  */
-public final class HttpTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.HttpTarget)
     HttpTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpTarget.newBuilder() to construct.
   private HttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HttpTarget() {
     uri_ = "";
     httpMethod_ = 0;
@@ -50,15 +32,16 @@ private HttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private HttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78,84 +61,71 @@ private HttpTarget(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uri_ = s;
-              break;
-            }
-          case 16:
-            {
-              int rawValue = input.readEnum();
+            uri_ = s;
+            break;
+          }
+          case 16: {
+            int rawValue = input.readEnum();
 
-              httpMethod_ = rawValue;
-              break;
+            httpMethod_ = rawValue;
+            break;
+          }
+          case 26: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              headers_ = com.google.protobuf.MapField.newMapField(
+                  HeadersDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 26:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                headers_ =
-                    com.google.protobuf.MapField.newMapField(
-                        HeadersDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry headers__ =
-                  input.readMessage(
-                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
-              break;
+            com.google.protobuf.MapEntry
+            headers__ = input.readMessage(
+                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            headers_.getMutableMap().put(
+                headers__.getKey(), headers__.getValue());
+            break;
+          }
+          case 34: {
+
+            body_ = input.readBytes();
+            break;
+          }
+          case 42: {
+            com.google.cloud.scheduler.v1beta1.OAuthToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 5) {
+              subBuilder = ((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_).toBuilder();
             }
-          case 34:
-            {
-              body_ = input.readBytes();
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.scheduler.v1beta1.OAuthToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.scheduler.v1beta1.OAuthToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
-                        .toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1beta1.OAuthToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 5;
-              break;
+            authorizationHeaderCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.scheduler.v1beta1.OidcToken.Builder subBuilder = null;
+            if (authorizationHeaderCase_ == 6) {
+              subBuilder = ((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.scheduler.v1beta1.OidcToken.Builder subBuilder = null;
-              if (authorizationHeaderCase_ == 6) {
-                subBuilder =
-                    ((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
-                        .toBuilder();
-              }
-              authorizationHeader_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1beta1.OidcToken.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
-                authorizationHeader_ = subBuilder.buildPartial();
-              }
-              authorizationHeaderCase_ = 6;
-              break;
+            authorizationHeader_ =
+                input.readMessage(com.google.cloud.scheduler.v1beta1.OidcToken.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
+              authorizationHeader_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            authorizationHeaderCase_ = 6;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -163,51 +133,47 @@ private HttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.HttpTarget.class,
-            com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1beta1.HttpTarget.class, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
-
   public enum AuthorizationHeaderCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
-
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -223,31 +189,26 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return OAUTH_TOKEN;
-        case 6:
-          return OIDC_TOKEN;
-        case 0:
-          return AUTHORIZATIONHEADER_NOT_SET;
-        default:
-          return null;
+        case 5: return OAUTH_TOKEN;
+        case 6: return OIDC_TOKEN;
+        case 0: return AUTHORIZATIONHEADER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+  public AuthorizationHeaderCase
+  getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(
+        authorizationHeaderCase_);
   }
 
   public static final int URI_FIELD_NUMBER = 1;
   private volatile java.lang.Object uri_;
   /**
-   *
-   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -258,7 +219,6 @@ public AuthorizationHeaderCase getAuthorizationHeaderCase() {
    * 
* * string uri = 1; - * * @return The uri. */ @java.lang.Override @@ -267,15 +227,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -286,15 +245,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -305,57 +265,49 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @return The httpMethod. */ - @java.lang.Override - public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { + @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = - com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; - private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.scheduler.v1beta1.TargetProto - .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -364,8 +316,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -385,22 +335,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
+
   @java.lang.Override
-  public boolean containsHeaders(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsHeaders(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /** Use {@link #getHeadersMap()} instead. */
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -421,12 +371,11 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
+
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -447,16 +396,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -477,11 +426,12 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-  public java.lang.String getHeadersOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetHeaders().getMap();
+
+  public java.lang.String getHeadersOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -491,8 +441,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
-   *
-   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -500,7 +448,6 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
    * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -510,8 +457,6 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -522,7 +467,6 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -530,8 +474,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -542,19 +484,16 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_; } return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -569,15 +508,13 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-      return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
+       return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -589,7 +526,6 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -597,8 +533,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -610,19 +544,16 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_; } return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance(); } /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -638,13 +569,12 @@ public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-      return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
+       return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -656,16 +586,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
     }
-    if (httpMethod_
-        != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetHeaders(),
+        HeadersDefaultEntryHolder.defaultEntry,
+        3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -687,32 +621,31 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
     }
-    if (httpMethod_
-        != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
+    if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry headers__ =
-          HeadersDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry
+         : internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -722,25 +655,29 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1beta1.HttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1beta1.HttpTarget other =
-        (com.google.cloud.scheduler.v1beta1.HttpTarget) obj;
+    com.google.cloud.scheduler.v1beta1.HttpTarget other = (com.google.cloud.scheduler.v1beta1.HttpTarget) obj;
 
-    if (!getUri().equals(other.getUri())) return false;
+    if (!getUri()
+        .equals(other.getUri())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
-    if (!getBody().equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(
+        other.internalGetHeaders())) return false;
+    if (!getBody()
+        .equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken().equals(other.getOauthToken())) return false;
+        if (!getOauthToken()
+            .equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken().equals(other.getOidcToken())) return false;
+        if (!getOidcToken()
+            .equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -783,104 +720,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.HttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Http target. The job will be pushed to the job handler by means of
    * an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP
@@ -892,43 +822,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.HttpTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.HttpTarget)
       com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.HttpTarget.class,
-              com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1beta1.HttpTarget.class, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.HttpTarget.newBuilder()
@@ -936,15 +866,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -961,9 +892,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -982,8 +913,7 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.HttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1beta1.HttpTarget result =
-          new com.google.cloud.scheduler.v1beta1.HttpTarget(this);
+      com.google.cloud.scheduler.v1beta1.HttpTarget result = new com.google.cloud.scheduler.v1beta1.HttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.uri_ = uri_;
       result.httpMethod_ = httpMethod_;
@@ -1013,39 +943,38 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.HttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1061,25 +990,23 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.HttpTarget other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(
+          other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN:
-          {
-            mergeOauthToken(other.getOauthToken());
-            break;
-          }
-        case OIDC_TOKEN:
-          {
-            mergeOidcToken(other.getOidcToken());
-            break;
-          }
-        case AUTHORIZATIONHEADER_NOT_SET:
-          {
-            break;
-          }
+        case OAUTH_TOKEN: {
+          mergeOauthToken(other.getOauthToken());
+          break;
+        }
+        case OIDC_TOKEN: {
+          mergeOidcToken(other.getOidcToken());
+          break;
+        }
+        case AUTHORIZATIONHEADER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1109,12 +1036,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-
-    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
+    public AuthorizationHeaderCase
+        getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(
+          authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1128,8 +1055,6 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object uri_ = "";
     /**
-     *
-     *
      * 
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1140,13 +1065,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string uri = 1; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1155,8 +1080,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1167,14 +1090,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1182,8 +1106,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1194,22 +1116,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 1; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1220,18 +1140,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 1; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1242,16 +1159,16 @@ public Builder clearUri() {
      * 
* * string uri = 1; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -1259,65 +1176,51 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { private int httpMethod_ = 0; /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override - public int getHttpMethodValue() { + @java.lang.Override public int getHttpMethodValue() { return httpMethod_; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = - com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1325,44 +1228,42 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1beta1.HttpMethod value if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField headers_; - - private com.google.protobuf.MapField internalGetHeaders() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> headers_; + private com.google.protobuf.MapField + internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + HeadersDefaultEntryHolder.defaultEntry); } return headers_; } - private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged(); - ; + internalGetMutableHeaders() { + onChanged();; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField( + HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1374,8 +1275,6 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** - * - * *
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1395,22 +1294,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
+
     @java.lang.Override
-    public boolean containsHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /** Use {@link #getHeadersMap()} instead. */
+    /**
+     * Use {@link #getHeadersMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1431,12 +1330,11 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1457,17 +1355,16 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
+
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1488,11 +1385,12 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-    public java.lang.String getHeadersOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetHeaders().getMap();
+
+    public java.lang.String getHeadersOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1500,12 +1398,11 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) {
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap().clear();
+      internalGetMutableHeaders().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1525,21 +1422,23 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder removeHeaders(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableHeaders().getMutableMap().remove(key);
+
+    public Builder removeHeaders(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableHeaders().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableHeaders() {
+    public java.util.Map
+    getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1559,20 +1458,19 @@ public java.util.Map getMutableHeaders() {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putHeaders(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableHeaders().getMutableMap().put(key, value);
+      internalGetMutableHeaders().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1592,15 +1490,16 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> headers = 3;
      */
-    public Builder putAllHeaders(java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap().putAll(values);
+
+    public Builder putAllHeaders(
+        java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1608,7 +1507,6 @@ public Builder putAllHeaders(java.util.Map v
      * 
* * bytes body = 4; - * * @return The body. */ @java.lang.Override @@ -1616,8 +1514,6 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** - * - * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1625,22 +1521,19 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; - * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** - * - * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1648,24 +1541,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; - * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.OAuthToken, - com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, - com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder> - oauthTokenBuilder_; + com.google.cloud.scheduler.v1beta1.OAuthToken, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder> oauthTokenBuilder_; /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1676,7 +1563,6 @@ public Builder clearBody() {
      * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1684,8 +1570,6 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1696,7 +1580,6 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ @java.lang.Override @@ -1714,8 +1597,6 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() { } } /** - * - * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1741,8 +1622,6 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken value
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1766,8 +1645,6 @@ public Builder setOauthToken(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1781,14 +1658,10 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5
-            && authorizationHeader_
-                != com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder(
-                      (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 5 &&
+            authorizationHeader_ != com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1804,8 +1677,6 @@ public Builder mergeOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken val
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1834,8 +1705,6 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1851,8 +1720,6 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken.Builder getOauthTokenBuilde
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1876,8 +1743,6 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1890,38 +1755,27 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
      * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1beta1.OAuthToken,
-            com.google.cloud.scheduler.v1beta1.OAuthToken.Builder,
-            com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>
+        com.google.cloud.scheduler.v1beta1.OAuthToken, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder> 
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.scheduler.v1beta1.OAuthToken,
-                com.google.cloud.scheduler.v1beta1.OAuthToken.Builder,
-                com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.scheduler.v1beta1.OAuthToken, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();
-      ;
+      onChanged();;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1beta1.OidcToken,
-            com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
-            com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>
-        oidcTokenBuilder_;
+        com.google.cloud.scheduler.v1beta1.OidcToken, com.google.cloud.scheduler.v1beta1.OidcToken.Builder, com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder> oidcTokenBuilder_;
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1933,7 +1787,6 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
      * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1941,8 +1794,6 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1954,7 +1805,6 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; - * * @return The oidcToken. */ @java.lang.Override @@ -1972,8 +1822,6 @@ public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() { } } /** - * - * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2000,8 +1848,6 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value)
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2026,8 +1872,6 @@ public Builder setOidcToken(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2042,14 +1886,10 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6
-            && authorizationHeader_
-                != com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ =
-              com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder(
-                      (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (authorizationHeaderCase_ == 6 &&
+            authorizationHeader_ != com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
+              .mergeFrom(value).buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -2065,8 +1905,6 @@ public Builder mergeOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2096,8 +1934,6 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2114,8 +1950,6 @@ public com.google.cloud.scheduler.v1beta1.OidcToken.Builder getOidcTokenBuilder(
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2140,8 +1974,6 @@ public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -2155,32 +1987,26 @@ public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuild
      * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1beta1.OidcToken,
-            com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
-            com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>
+        com.google.cloud.scheduler.v1beta1.OidcToken, com.google.cloud.scheduler.v1beta1.OidcToken.Builder, com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder> 
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.scheduler.v1beta1.OidcToken,
-                com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
-                com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.scheduler.v1beta1.OidcToken, com.google.cloud.scheduler.v1beta1.OidcToken.Builder, com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();
-      ;
+      onChanged();;
       return oidcTokenBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2190,12 +2016,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.HttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.HttpTarget)
   private static final com.google.cloud.scheduler.v1beta1.HttpTarget DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.HttpTarget();
   }
@@ -2204,16 +2030,16 @@ public static com.google.cloud.scheduler.v1beta1.HttpTarget getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HttpTarget parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HttpTarget(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HttpTarget parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HttpTarget(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2228,4 +2054,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1beta1.HttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
similarity index 88%
rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
index 92d059be..a17e3d05 100644
--- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/target.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
-public interface HttpTargetOrBuilder
-    extends
+public interface HttpTargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.HttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -36,13 +18,10 @@ public interface HttpTargetOrBuilder
    * 
* * string uri = 1; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -53,39 +32,31 @@ public interface HttpTargetOrBuilder
    * 
* * string uri = 1; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** - * - * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; - * * @return The httpMethod. */ com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod(); /** - * - * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -107,8 +78,6 @@ public interface HttpTargetOrBuilder
    */
   int getHeadersCount();
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -128,13 +97,15 @@ public interface HttpTargetOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(java.lang.String key);
-  /** Use {@link #getHeadersMap()} instead. */
+  boolean containsHeaders(
+      java.lang.String key);
+  /**
+   * Use {@link #getHeadersMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getHeaders();
+  java.util.Map
+  getHeaders();
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -154,10 +125,9 @@ public interface HttpTargetOrBuilder
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map getHeadersMap();
+  java.util.Map
+  getHeadersMap();
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -179,13 +149,11 @@ public interface HttpTargetOrBuilder
    */
 
   /* nullable */
-  java.lang.String getHeadersOrDefault(
+java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -205,11 +173,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-  java.lang.String getHeadersOrThrow(java.lang.String key);
+
+  java.lang.String getHeadersOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -217,14 +185,11 @@ java.lang.String getHeadersOrDefault(
    * 
* * bytes body = 4; - * * @return The body. */ com.google.protobuf.ByteString getBody(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -235,13 +200,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; - * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -252,13 +214,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; - * * @return The oauthToken. */ com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken(); /** - * - * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -273,8 +232,6 @@ java.lang.String getHeadersOrDefault(
   com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -286,13 +243,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; - * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -304,13 +258,10 @@ java.lang.String getHeadersOrDefault(
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; - * * @return The oidcToken. */ com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken(); /** - * - * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -325,6 +276,5 @@ java.lang.String getHeadersOrDefault(
    */
   com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.scheduler.v1beta1.HttpTarget.AuthorizationHeaderCase
-      getAuthorizationHeaderCase();
+  public com.google.cloud.scheduler.v1beta1.HttpTarget.AuthorizationHeaderCase getAuthorizationHeaderCase();
 }
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
similarity index 78%
rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
index 63ebd6ba..af3f839a 100644
--- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/job.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
 /**
- *
- *
  * 
  * Configuration for a job.
  * The maximum allowed size for a job is 100KB.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.Job}
  */
-public final class Job extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Job extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.Job)
     JobOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Job() {
     name_ = "";
     description_ = "";
@@ -48,15 +30,16 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Job(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,190 +58,163 @@ private Job(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            description_ = s;
+            break;
+          }
+          case 34: {
+            com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder subBuilder = null;
+            if (targetCase_ == 4) {
+              subBuilder = ((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_).toBuilder();
             }
-          case 34:
-            {
-              com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder subBuilder = null;
-              if (targetCase_ == 4) {
-                subBuilder =
-                    ((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_).toBuilder();
-              }
-              target_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1beta1.PubsubTarget.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
-                target_ = subBuilder.buildPartial();
-              }
-              targetCase_ = 4;
-              break;
+            target_ =
+                input.readMessage(com.google.cloud.scheduler.v1beta1.PubsubTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
+              target_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder subBuilder = null;
-              if (targetCase_ == 5) {
-                subBuilder =
-                    ((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_).toBuilder();
-              }
-              target_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
-                target_ = subBuilder.buildPartial();
-              }
-              targetCase_ = 5;
-              break;
+            targetCase_ = 4;
+            break;
+          }
+          case 42: {
+            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder subBuilder = null;
+            if (targetCase_ == 5) {
+              subBuilder = ((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_).toBuilder();
             }
-          case 50:
-            {
-              com.google.cloud.scheduler.v1beta1.HttpTarget.Builder subBuilder = null;
-              if (targetCase_ == 6) {
-                subBuilder = ((com.google.cloud.scheduler.v1beta1.HttpTarget) target_).toBuilder();
-              }
-              target_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1beta1.HttpTarget.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
-                target_ = subBuilder.buildPartial();
-              }
-              targetCase_ = 6;
-              break;
+            target_ =
+                input.readMessage(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
+              target_ = subBuilder.buildPartial();
             }
-          case 74:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (userUpdateTime_ != null) {
-                subBuilder = userUpdateTime_.toBuilder();
-              }
-              userUpdateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(userUpdateTime_);
-                userUpdateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetCase_ = 5;
+            break;
+          }
+          case 50: {
+            com.google.cloud.scheduler.v1beta1.HttpTarget.Builder subBuilder = null;
+            if (targetCase_ == 6) {
+              subBuilder = ((com.google.cloud.scheduler.v1beta1.HttpTarget) target_).toBuilder();
             }
-          case 80:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
+            target_ =
+                input.readMessage(com.google.cloud.scheduler.v1beta1.HttpTarget.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
+              target_ = subBuilder.buildPartial();
             }
-          case 90:
-            {
-              com.google.rpc.Status.Builder subBuilder = null;
-              if (status_ != null) {
-                subBuilder = status_.toBuilder();
-              }
-              status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(status_);
-                status_ = subBuilder.buildPartial();
-              }
-
-              break;
+            targetCase_ = 6;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (userUpdateTime_ != null) {
+              subBuilder = userUpdateTime_.toBuilder();
             }
-          case 138:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (scheduleTime_ != null) {
-                subBuilder = scheduleTime_.toBuilder();
-              }
-              scheduleTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(scheduleTime_);
-                scheduleTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            userUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(userUpdateTime_);
+              userUpdateTime_ = subBuilder.buildPartial();
             }
-          case 146:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (lastAttemptTime_ != null) {
-                subBuilder = lastAttemptTime_.toBuilder();
-              }
-              lastAttemptTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(lastAttemptTime_);
-                lastAttemptTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 80: {
+            int rawValue = input.readEnum();
+
+            state_ = rawValue;
+            break;
+          }
+          case 90: {
+            com.google.rpc.Status.Builder subBuilder = null;
+            if (status_ != null) {
+              subBuilder = status_.toBuilder();
+            }
+            status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(status_);
+              status_ = subBuilder.buildPartial();
             }
-          case 154:
-            {
-              com.google.cloud.scheduler.v1beta1.RetryConfig.Builder subBuilder = null;
-              if (retryConfig_ != null) {
-                subBuilder = retryConfig_.toBuilder();
-              }
-              retryConfig_ =
-                  input.readMessage(
-                      com.google.cloud.scheduler.v1beta1.RetryConfig.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(retryConfig_);
-                retryConfig_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 138: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (scheduleTime_ != null) {
+              subBuilder = scheduleTime_.toBuilder();
+            }
+            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(scheduleTime_);
+              scheduleTime_ = subBuilder.buildPartial();
             }
-          case 162:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              schedule_ = s;
-              break;
+            break;
+          }
+          case 146: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (lastAttemptTime_ != null) {
+              subBuilder = lastAttemptTime_.toBuilder();
+            }
+            lastAttemptTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastAttemptTime_);
+              lastAttemptTime_ = subBuilder.buildPartial();
             }
-          case 170:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              timeZone_ = s;
-              break;
+            break;
+          }
+          case 154: {
+            com.google.cloud.scheduler.v1beta1.RetryConfig.Builder subBuilder = null;
+            if (retryConfig_ != null) {
+              subBuilder = retryConfig_.toBuilder();
             }
-          case 178:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (attemptDeadline_ != null) {
-                subBuilder = attemptDeadline_.toBuilder();
-              }
-              attemptDeadline_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(attemptDeadline_);
-                attemptDeadline_ = subBuilder.buildPartial();
-              }
+            retryConfig_ = input.readMessage(com.google.cloud.scheduler.v1beta1.RetryConfig.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(retryConfig_);
+              retryConfig_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          case 162: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            schedule_ = s;
+            break;
+          }
+          case 170: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
+            timeZone_ = s;
+            break;
+          }
+          case 178: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (attemptDeadline_ != null) {
+              subBuilder = attemptDeadline_.toBuilder();
+            }
+            attemptDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(attemptDeadline_);
+              attemptDeadline_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -266,41 +222,36 @@ private Job(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.JobProto
-        .internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.JobProto
-        .internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.Job.class,
-            com.google.cloud.scheduler.v1beta1.Job.Builder.class);
+            com.google.cloud.scheduler.v1beta1.Job.class, com.google.cloud.scheduler.v1beta1.Job.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * State of the job.
    * 
* * Protobuf enum {@code google.cloud.scheduler.v1beta1.Job.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified state.
      * 
@@ -309,8 +260,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The job is executing normally.
      * 
@@ -319,8 +268,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ENABLED(1), /** - * - * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -331,8 +278,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(2),
     /**
-     *
-     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -342,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DISABLED(3),
     /**
-     *
-     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -357,8 +300,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified state.
      * 
@@ -367,8 +308,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The job is executing normally.
      * 
@@ -377,8 +316,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENABLED_VALUE = 1; /** - * - * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -389,8 +326,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -400,8 +335,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -412,6 +345,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UPDATE_FAILED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -436,53 +370,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return ENABLED;
-        case 2:
-          return PAUSED;
-        case 3:
-          return DISABLED;
-        case 4:
-          return UPDATE_FAILED;
-        default:
-          return null;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return ENABLED;
+        case 2: return PAUSED;
+        case 3: return DISABLED;
+        case 4: return UPDATE_FAILED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.cloud.scheduler.v1beta1.Job.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -501,17 +433,14 @@ private State(int value) {
 
   private int targetCase_ = 0;
   private java.lang.Object target_;
-
   public enum TargetCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     PUBSUB_TARGET(4),
     APP_ENGINE_HTTP_TARGET(5),
     HTTP_TARGET(6),
     TARGET_NOT_SET(0);
     private final int value;
-
     private TargetCase(int value) {
       this.value = value;
     }
@@ -527,33 +456,27 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return PUBSUB_TARGET;
-        case 5:
-          return APP_ENGINE_HTTP_TARGET;
-        case 6:
-          return HTTP_TARGET;
-        case 0:
-          return TARGET_NOT_SET;
-        default:
-          return null;
+        case 4: return PUBSUB_TARGET;
+        case 5: return APP_ENGINE_HTTP_TARGET;
+        case 6: return HTTP_TARGET;
+        case 0: return TARGET_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase getTargetCase() {
-    return TargetCase.forNumber(targetCase_);
+  public TargetCase
+  getTargetCase() {
+    return TargetCase.forNumber(
+        targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -573,7 +496,6 @@ public TargetCase getTargetCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -582,15 +504,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -610,15 +531,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -629,8 +551,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -639,7 +559,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -648,15 +567,14 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -665,15 +583,16 @@ public java.lang.String getDescription() {
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -683,14 +602,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int PUBSUB_TARGET_FIELD_NUMBER = 4; /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; - * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -698,26 +614,21 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; - * * @return The pubsubTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance(); } /** - * - * *
    * Pub/Sub target.
    * 
@@ -727,21 +638,18 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetOrBuilder() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance(); } public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 5; /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -749,26 +657,21 @@ public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance(); } /** - * - * *
    * App Engine HTTP target.
    * 
@@ -776,24 +679,20 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTa * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder - getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance(); } public static final int HTTP_TARGET_FIELD_NUMBER = 6; /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; - * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -801,26 +700,21 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; - * * @return The httpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance(); } /** - * - * *
    * HTTP target.
    * 
@@ -830,7 +724,7 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBuilder() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance(); } @@ -838,8 +732,6 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui public static final int SCHEDULE_FIELD_NUMBER = 20; private volatile java.lang.Object schedule_; /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -862,7 +754,6 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
    * 
* * string schedule = 20; - * * @return The schedule. */ @java.lang.Override @@ -871,15 +762,14 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -902,15 +792,16 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 20; - * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -921,8 +812,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { public static final int TIME_ZONE_FIELD_NUMBER = 21; private volatile java.lang.Object timeZone_; /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -935,7 +824,6 @@ public com.google.protobuf.ByteString getScheduleBytes() {
    * 
* * string time_zone = 21; - * * @return The timeZone. */ @java.lang.Override @@ -944,15 +832,14 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -965,15 +852,16 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 21; - * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -984,14 +872,11 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { public static final int USER_UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp userUpdateTime_; /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return Whether the userUpdateTime field is set. */ @java.lang.Override @@ -999,25 +884,18 @@ public boolean hasUserUpdateTime() { return userUpdateTime_ != null; } /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return The userUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUserUpdateTime() { - return userUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : userUpdateTime_; + return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; } /** - * - * *
    * Output only. The creation time of the job.
    * 
@@ -1032,50 +910,38 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_; /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.scheduler.v1beta1.Job.State getState() { + @java.lang.Override public com.google.cloud.scheduler.v1beta1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.Job.State result = - com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1beta1.Job.State result = com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1beta1.Job.State.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 11; private com.google.rpc.Status status_; /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return Whether the status field is set. */ @java.lang.Override @@ -1083,14 +949,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return The status. */ @java.lang.Override @@ -1098,8 +961,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -1114,8 +975,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 17; private com.google.protobuf.Timestamp scheduleTime_; /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1123,7 +982,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -1131,8 +989,6 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1140,18 +996,13 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1168,14 +1019,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int LAST_ATTEMPT_TIME_FIELD_NUMBER = 18;
   private com.google.protobuf.Timestamp lastAttemptTime_;
   /**
-   *
-   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return Whether the lastAttemptTime field is set. */ @java.lang.Override @@ -1183,25 +1031,18 @@ public boolean hasLastAttemptTime() { return lastAttemptTime_ != null; } /** - * - * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return The lastAttemptTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastAttemptTime() { - return lastAttemptTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastAttemptTime_; + return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; } /** - * - * *
    * Output only. The time the last job attempt started.
    * 
@@ -1216,14 +1057,11 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { public static final int RETRY_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.scheduler.v1beta1.RetryConfig retryConfig_; /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; - * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -1231,25 +1069,18 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; - * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.RetryConfig getRetryConfig() { - return retryConfig_ == null - ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() : retryConfig_; } /** - * - * *
    * Settings that determine the retry behavior.
    * 
@@ -1264,8 +1095,6 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB public static final int ATTEMPT_DEADLINE_FIELD_NUMBER = 22; private com.google.protobuf.Duration attemptDeadline_; /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1280,7 +1109,6 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return Whether the attemptDeadline field is set. */ @java.lang.Override @@ -1288,8 +1116,6 @@ public boolean hasAttemptDeadline() { return attemptDeadline_ != null; } /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1304,18 +1130,13 @@ public boolean hasAttemptDeadline() {
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return The attemptDeadline. */ @java.lang.Override public com.google.protobuf.Duration getAttemptDeadline() { - return attemptDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : attemptDeadline_; + return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; } /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1337,7 +1158,6 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1349,7 +1169,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1408,37 +1229,40 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
     }
     if (targetCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
     }
     if (targetCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
     }
     if (targetCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
     }
     if (userUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUserUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getUserUpdateTime());
     }
     if (state_ != com.google.cloud.scheduler.v1beta1.Job.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(10, state_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, getStatus());
     }
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(17, getScheduleTime());
     }
     if (lastAttemptTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLastAttemptTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(18, getLastAttemptTime());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(19, getRetryConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, schedule_);
@@ -1447,7 +1271,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, timeZone_);
     }
     if (attemptDeadline_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getAttemptDeadline());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(22, getAttemptDeadline());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1457,52 +1282,65 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1beta1.Job)) {
       return super.equals(obj);
     }
     com.google.cloud.scheduler.v1beta1.Job other = (com.google.cloud.scheduler.v1beta1.Job) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
-    if (!getSchedule().equals(other.getSchedule())) return false;
-    if (!getTimeZone().equals(other.getTimeZone())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) return false;
+    if (!getSchedule()
+        .equals(other.getSchedule())) return false;
+    if (!getTimeZone()
+        .equals(other.getTimeZone())) return false;
     if (hasUserUpdateTime() != other.hasUserUpdateTime()) return false;
     if (hasUserUpdateTime()) {
-      if (!getUserUpdateTime().equals(other.getUserUpdateTime())) return false;
+      if (!getUserUpdateTime()
+          .equals(other.getUserUpdateTime())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus().equals(other.getStatus())) return false;
+      if (!getStatus()
+          .equals(other.getStatus())) return false;
     }
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime()
+          .equals(other.getScheduleTime())) return false;
     }
     if (hasLastAttemptTime() != other.hasLastAttemptTime()) return false;
     if (hasLastAttemptTime()) {
-      if (!getLastAttemptTime().equals(other.getLastAttemptTime())) return false;
+      if (!getLastAttemptTime()
+          .equals(other.getLastAttemptTime())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig()
+          .equals(other.getRetryConfig())) return false;
     }
     if (hasAttemptDeadline() != other.hasAttemptDeadline()) return false;
     if (hasAttemptDeadline()) {
-      if (!getAttemptDeadline().equals(other.getAttemptDeadline())) return false;
+      if (!getAttemptDeadline()
+          .equals(other.getAttemptDeadline())) return false;
     }
     if (!getTargetCase().equals(other.getTargetCase())) return false;
     switch (targetCase_) {
       case 4:
-        if (!getPubsubTarget().equals(other.getPubsubTarget())) return false;
+        if (!getPubsubTarget()
+            .equals(other.getPubsubTarget())) return false;
         break;
       case 5:
-        if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false;
+        if (!getAppEngineHttpTarget()
+            .equals(other.getAppEngineHttpTarget())) return false;
         break;
       case 6:
-        if (!getHttpTarget().equals(other.getHttpTarget())) return false;
+        if (!getHttpTarget()
+            .equals(other.getHttpTarget())) return false;
         break;
       case 0:
       default:
@@ -1573,104 +1411,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1beta1.Job parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.Job prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration for a job.
    * The maximum allowed size for a job is 100KB.
@@ -1678,23 +1509,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.Job}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.Job)
       com.google.cloud.scheduler.v1beta1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.JobProto
-          .internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.JobProto
-          .internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.Job.class,
-              com.google.cloud.scheduler.v1beta1.Job.Builder.class);
+              com.google.cloud.scheduler.v1beta1.Job.class, com.google.cloud.scheduler.v1beta1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.Job.newBuilder()
@@ -1702,15 +1531,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1766,9 +1596,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.JobProto
-          .internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -1787,8 +1617,7 @@ public com.google.cloud.scheduler.v1beta1.Job build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.Job buildPartial() {
-      com.google.cloud.scheduler.v1beta1.Job result =
-          new com.google.cloud.scheduler.v1beta1.Job(this);
+      com.google.cloud.scheduler.v1beta1.Job result = new com.google.cloud.scheduler.v1beta1.Job(this);
       result.name_ = name_;
       result.description_ = description_;
       if (targetCase_ == 4) {
@@ -1854,39 +1683,38 @@ public com.google.cloud.scheduler.v1beta1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.Job) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.Job) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.Job)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1933,25 +1761,21 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.Job other) {
         mergeAttemptDeadline(other.getAttemptDeadline());
       }
       switch (other.getTargetCase()) {
-        case PUBSUB_TARGET:
-          {
-            mergePubsubTarget(other.getPubsubTarget());
-            break;
-          }
-        case APP_ENGINE_HTTP_TARGET:
-          {
-            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-            break;
-          }
-        case HTTP_TARGET:
-          {
-            mergeHttpTarget(other.getHttpTarget());
-            break;
-          }
-        case TARGET_NOT_SET:
-          {
-            break;
-          }
+        case PUBSUB_TARGET: {
+          mergePubsubTarget(other.getPubsubTarget());
+          break;
+        }
+        case APP_ENGINE_HTTP_TARGET: {
+          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+          break;
+        }
+        case HTTP_TARGET: {
+          mergeHttpTarget(other.getHttpTarget());
+          break;
+        }
+        case TARGET_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1981,12 +1805,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int targetCase_ = 0;
     private java.lang.Object target_;
-
-    public TargetCase getTargetCase() {
-      return TargetCase.forNumber(targetCase_);
+    public TargetCase
+        getTargetCase() {
+      return TargetCase.forNumber(
+          targetCase_);
     }
 
     public Builder clearTarget() {
@@ -1996,10 +1820,9 @@ public Builder clearTarget() {
       return this;
     }
 
+
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2019,13 +1842,13 @@ public Builder clearTarget() {
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2034,8 +1857,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2055,14 +1876,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2070,8 +1892,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2091,22 +1911,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2126,18 +1944,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -2157,16 +1972,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2174,8 +1989,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2184,13 +1997,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2199,8 +2012,6 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2209,14 +2020,15 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2224,8 +2036,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2234,22 +2044,20 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2258,18 +2066,15 @@ public Builder setDescription(java.lang.String value) {
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2278,35 +2083,29 @@ public Builder clearDescription() {
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.PubsubTarget, - com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, - com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> - pubsubTargetBuilder_; + com.google.cloud.scheduler.v1beta1.PubsubTarget, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> pubsubTargetBuilder_; /** - * - * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; - * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -2314,14 +2113,11 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** - * - * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; - * * @return The pubsubTarget. */ @java.lang.Override @@ -2339,8 +2135,6 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget() { } } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2361,8 +2155,6 @@ public Builder setPubsubTarget(com.google.cloud.scheduler.v1beta1.PubsubTarget v return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2381,8 +2173,6 @@ public Builder setPubsubTarget( return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2391,13 +2181,10 @@ public Builder setPubsubTarget( */ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1beta1.PubsubTarget value) { if (pubsubTargetBuilder_ == null) { - if (targetCase_ == 4 - && target_ != com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance()) { - target_ = - com.google.cloud.scheduler.v1beta1.PubsubTarget.newBuilder( - (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 4 && + target_ != com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance()) { + target_ = com.google.cloud.scheduler.v1beta1.PubsubTarget.newBuilder((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -2413,8 +2200,6 @@ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1beta1.PubsubTarget return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2438,8 +2223,6 @@ public Builder clearPubsubTarget() { return this; } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2450,8 +2233,6 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder getPubsubTargetBu return getPubsubTargetFieldBuilder().getBuilder(); } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2470,8 +2251,6 @@ public com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetO } } /** - * - * *
      * Pub/Sub target.
      * 
@@ -2479,44 +2258,32 @@ public com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetO * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.PubsubTarget, - com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, - com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> + com.google.cloud.scheduler.v1beta1.PubsubTarget, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> getPubsubTargetFieldBuilder() { if (pubsubTargetBuilder_ == null) { if (!(targetCase_ == 4)) { target_ = com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance(); } - pubsubTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.PubsubTarget, - com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, - com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder>( + pubsubTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.PubsubTarget, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder>( (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 4; - onChanged(); - ; + onChanged();; return pubsubTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, - com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> - appEngineHttpTargetBuilder_; + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -2524,14 +2291,11 @@ public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -2549,16 +2313,13 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTa } } /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ - public Builder setAppEngineHttpTarget( - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { + public Builder setAppEngineHttpTarget(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { if (appEngineHttpTargetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2572,8 +2333,6 @@ public Builder setAppEngineHttpTarget( return this; } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2592,25 +2351,18 @@ public Builder setAppEngineHttpTarget( return this; } /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ - public Builder mergeAppEngineHttpTarget( - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { + public Builder mergeAppEngineHttpTarget(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { if (appEngineHttpTargetBuilder_ == null) { - if (targetCase_ == 5 - && target_ - != com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance()) { - target_ = - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.newBuilder( - (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 5 && + target_ != com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance()) { + target_ = com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.newBuilder((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -2626,8 +2378,6 @@ public Builder mergeAppEngineHttpTarget( return this; } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2651,21 +2401,16 @@ public Builder clearAppEngineHttpTarget() { return this; } /** - * - * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ - public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder - getAppEngineHttpTargetBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() { return getAppEngineHttpTargetFieldBuilder().getBuilder(); } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2673,8 +2418,7 @@ public Builder clearAppEngineHttpTarget() { * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder - getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { if ((targetCase_ == 5) && (appEngineHttpTargetBuilder_ != null)) { return appEngineHttpTargetBuilder_.getMessageOrBuilder(); } else { @@ -2685,8 +2429,6 @@ public Builder clearAppEngineHttpTarget() { } } /** - * - * *
      * App Engine HTTP target.
      * 
@@ -2694,44 +2436,32 @@ public Builder clearAppEngineHttpTarget() { * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, - com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> getAppEngineHttpTargetFieldBuilder() { if (appEngineHttpTargetBuilder_ == null) { if (!(targetCase_ == 5)) { target_ = com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance(); } - appEngineHttpTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, - com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder>( + appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder>( (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 5; - onChanged(); - ; + onChanged();; return appEngineHttpTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.HttpTarget, - com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, - com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> - httpTargetBuilder_; + com.google.cloud.scheduler.v1beta1.HttpTarget, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> httpTargetBuilder_; /** - * - * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; - * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -2739,14 +2469,11 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** - * - * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; - * * @return The httpTarget. */ @java.lang.Override @@ -2764,8 +2491,6 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget() { } } /** - * - * *
      * HTTP target.
      * 
@@ -2786,8 +2511,6 @@ public Builder setHttpTarget(com.google.cloud.scheduler.v1beta1.HttpTarget value return this; } /** - * - * *
      * HTTP target.
      * 
@@ -2806,8 +2529,6 @@ public Builder setHttpTarget( return this; } /** - * - * *
      * HTTP target.
      * 
@@ -2816,13 +2537,10 @@ public Builder setHttpTarget( */ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1beta1.HttpTarget value) { if (httpTargetBuilder_ == null) { - if (targetCase_ == 6 - && target_ != com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance()) { - target_ = - com.google.cloud.scheduler.v1beta1.HttpTarget.newBuilder( - (com.google.cloud.scheduler.v1beta1.HttpTarget) target_) - .mergeFrom(value) - .buildPartial(); + if (targetCase_ == 6 && + target_ != com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance()) { + target_ = com.google.cloud.scheduler.v1beta1.HttpTarget.newBuilder((com.google.cloud.scheduler.v1beta1.HttpTarget) target_) + .mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -2838,8 +2556,6 @@ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1beta1.HttpTarget val return this; } /** - * - * *
      * HTTP target.
      * 
@@ -2863,8 +2579,6 @@ public Builder clearHttpTarget() { return this; } /** - * - * *
      * HTTP target.
      * 
@@ -2875,8 +2589,6 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget.Builder getHttpTargetBuilde return getHttpTargetFieldBuilder().getBuilder(); } /** - * - * *
      * HTTP target.
      * 
@@ -2895,8 +2607,6 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui } } /** - * - * *
      * HTTP target.
      * 
@@ -2904,34 +2614,26 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.HttpTarget, - com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, - com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> + com.google.cloud.scheduler.v1beta1.HttpTarget, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> getHttpTargetFieldBuilder() { if (httpTargetBuilder_ == null) { if (!(targetCase_ == 6)) { target_ = com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance(); } - httpTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.HttpTarget, - com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, - com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder>( + httpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.HttpTarget, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder>( (com.google.cloud.scheduler.v1beta1.HttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 6; - onChanged(); - ; + onChanged();; return httpTargetBuilder_; } private java.lang.Object schedule_ = ""; /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2954,13 +2656,13 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
      * 
* * string schedule = 20; - * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2969,8 +2671,6 @@ public java.lang.String getSchedule() { } } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2993,14 +2693,15 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 20; - * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString getScheduleBytes() { + public com.google.protobuf.ByteString + getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schedule_ = b; return b; } else { @@ -3008,8 +2709,6 @@ public com.google.protobuf.ByteString getScheduleBytes() { } } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -3032,22 +2731,20 @@ public com.google.protobuf.ByteString getScheduleBytes() {
      * 
* * string schedule = 20; - * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule(java.lang.String value) { + public Builder setSchedule( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schedule_ = value; onChanged(); return this; } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -3070,18 +2767,15 @@ public Builder setSchedule(java.lang.String value) {
      * 
* * string schedule = 20; - * * @return This builder for chaining. */ public Builder clearSchedule() { - + schedule_ = getDefaultInstance().getSchedule(); onChanged(); return this; } /** - * - * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -3104,16 +2798,16 @@ public Builder clearSchedule() {
      * 
* * string schedule = 20; - * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes(com.google.protobuf.ByteString value) { + public Builder setScheduleBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schedule_ = value; onChanged(); return this; @@ -3121,8 +2815,6 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) { private java.lang.Object timeZone_ = ""; /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -3135,13 +2827,13 @@ public Builder setScheduleBytes(com.google.protobuf.ByteString value) {
      * 
* * string time_zone = 21; - * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -3150,8 +2842,6 @@ public java.lang.String getTimeZone() { } } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -3164,14 +2854,15 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 21; - * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString getTimeZoneBytes() { + public com.google.protobuf.ByteString + getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); timeZone_ = b; return b; } else { @@ -3179,8 +2870,6 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { } } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -3193,22 +2882,20 @@ public com.google.protobuf.ByteString getTimeZoneBytes() {
      * 
* * string time_zone = 21; - * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone(java.lang.String value) { + public Builder setTimeZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeZone_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -3221,18 +2908,15 @@ public Builder setTimeZone(java.lang.String value) {
      * 
* * string time_zone = 21; - * * @return This builder for chaining. */ public Builder clearTimeZone() { - + timeZone_ = getDefaultInstance().getTimeZone(); onChanged(); return this; } /** - * - * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -3245,16 +2929,16 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 21; - * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { + public Builder setTimeZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeZone_ = value; onChanged(); return this; @@ -3262,47 +2946,34 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp userUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - userUpdateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> userUpdateTimeBuilder_; /** - * - * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return Whether the userUpdateTime field is set. */ public boolean hasUserUpdateTime() { return userUpdateTimeBuilder_ != null || userUpdateTime_ != null; } /** - * - * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return The userUpdateTime. */ public com.google.protobuf.Timestamp getUserUpdateTime() { if (userUpdateTimeBuilder_ == null) { - return userUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : userUpdateTime_; + return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; } else { return userUpdateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3323,15 +2994,14 @@ public Builder setUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; */ - public Builder setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUserUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (userUpdateTimeBuilder_ == null) { userUpdateTime_ = builderForValue.build(); onChanged(); @@ -3342,8 +3012,6 @@ public Builder setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3354,9 +3022,7 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { if (userUpdateTimeBuilder_ == null) { if (userUpdateTime_ != null) { userUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(userUpdateTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(userUpdateTime_).mergeFrom(value).buildPartial(); } else { userUpdateTime_ = value; } @@ -3368,8 +3034,6 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3388,8 +3052,6 @@ public Builder clearUserUpdateTime() { return this; } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3397,13 +3059,11 @@ public Builder clearUserUpdateTime() { * .google.protobuf.Timestamp user_update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUserUpdateTimeBuilder() { - + onChanged(); return getUserUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3414,14 +3074,11 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { if (userUpdateTimeBuilder_ != null) { return userUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return userUpdateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : userUpdateTime_; + return userUpdateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; } } /** - * - * *
      * Output only. The creation time of the job.
      * 
@@ -3429,17 +3086,14 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { * .google.protobuf.Timestamp user_update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUserUpdateTimeFieldBuilder() { if (userUpdateTimeBuilder_ == null) { - userUpdateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUserUpdateTime(), getParentForChildren(), isClean()); + userUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUserUpdateTime(), + getParentForChildren(), + isClean()); userUpdateTime_ = null; } return userUpdateTimeBuilder_; @@ -3447,65 +3101,51 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @return The state. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.Job.State result = - com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1beta1.Job.State result = com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1beta1.Job.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @param value The state to set. * @return This builder for chaining. */ @@ -3513,24 +3153,21 @@ public Builder setState(com.google.cloud.scheduler.v1beta1.Job.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3538,31 +3175,24 @@ public Builder clearState() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -3573,8 +3203,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3595,15 +3223,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -3614,8 +3241,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3625,7 +3250,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = + com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -3637,8 +3263,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3657,8 +3281,6 @@ public Builder clearStatus() { return this; } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3666,13 +3288,11 @@ public Builder clearStatus() { * .google.rpc.Status status = 11; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3683,12 +3303,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3696,14 +3315,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; @@ -3711,13 +3330,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - scheduleTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; /** - * - * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3725,15 +3339,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** - * - * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3741,21 +3352,16 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : scheduleTime_; + return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3778,8 +3384,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3788,7 +3392,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 17;
      */
-    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -3799,8 +3404,6 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3813,9 +3416,7 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -3827,8 +3428,6 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3849,8 +3448,6 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3860,13 +3457,11 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-
+      
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3879,14 +3474,11 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : scheduleTime_;
+        return scheduleTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3896,17 +3488,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(), getParentForChildren(), isClean());
+        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(),
+                getParentForChildren(),
+                isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -3914,47 +3503,34 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp lastAttemptTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        lastAttemptTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastAttemptTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return Whether the lastAttemptTime field is set. */ public boolean hasLastAttemptTime() { return lastAttemptTimeBuilder_ != null || lastAttemptTime_ != null; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return The lastAttemptTime. */ public com.google.protobuf.Timestamp getLastAttemptTime() { if (lastAttemptTimeBuilder_ == null) { - return lastAttemptTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastAttemptTime_; + return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; } else { return lastAttemptTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -3975,15 +3551,14 @@ public Builder setLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; */ - public Builder setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastAttemptTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastAttemptTimeBuilder_ == null) { lastAttemptTime_ = builderForValue.build(); onChanged(); @@ -3994,8 +3569,6 @@ public Builder setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4006,9 +3579,7 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { if (lastAttemptTimeBuilder_ == null) { if (lastAttemptTime_ != null) { lastAttemptTime_ = - com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_).mergeFrom(value).buildPartial(); } else { lastAttemptTime_ = value; } @@ -4020,8 +3591,6 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4040,8 +3609,6 @@ public Builder clearLastAttemptTime() { return this; } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4049,13 +3616,11 @@ public Builder clearLastAttemptTime() { * .google.protobuf.Timestamp last_attempt_time = 18; */ public com.google.protobuf.Timestamp.Builder getLastAttemptTimeBuilder() { - + onChanged(); return getLastAttemptTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4066,14 +3631,11 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { if (lastAttemptTimeBuilder_ != null) { return lastAttemptTimeBuilder_.getMessageOrBuilder(); } else { - return lastAttemptTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastAttemptTime_; + return lastAttemptTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; } } /** - * - * *
      * Output only. The time the last job attempt started.
      * 
@@ -4081,17 +3643,14 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { * .google.protobuf.Timestamp last_attempt_time = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastAttemptTimeFieldBuilder() { if (lastAttemptTimeBuilder_ == null) { - lastAttemptTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastAttemptTime(), getParentForChildren(), isClean()); + lastAttemptTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastAttemptTime(), + getParentForChildren(), + isClean()); lastAttemptTime_ = null; } return lastAttemptTimeBuilder_; @@ -4099,47 +3658,34 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { private com.google.cloud.scheduler.v1beta1.RetryConfig retryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.RetryConfig, - com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, - com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> - retryConfigBuilder_; + com.google.cloud.scheduler.v1beta1.RetryConfig, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> retryConfigBuilder_; /** - * - * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; - * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; - * * @return The retryConfig. */ public com.google.cloud.scheduler.v1beta1.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null - ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4160,8 +3706,6 @@ public Builder setRetryConfig(com.google.cloud.scheduler.v1beta1.RetryConfig val return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4180,8 +3724,6 @@ public Builder setRetryConfig( return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4192,9 +3734,7 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1beta1.RetryConfig v if (retryConfigBuilder_ == null) { if (retryConfig_ != null) { retryConfig_ = - com.google.cloud.scheduler.v1beta1.RetryConfig.newBuilder(retryConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.scheduler.v1beta1.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial(); } else { retryConfig_ = value; } @@ -4206,8 +3746,6 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1beta1.RetryConfig v return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4226,8 +3764,6 @@ public Builder clearRetryConfig() { return this; } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4235,13 +3771,11 @@ public Builder clearRetryConfig() { * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; */ public com.google.cloud.scheduler.v1beta1.RetryConfig.Builder getRetryConfigBuilder() { - + onChanged(); return getRetryConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4252,14 +3786,11 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB if (retryConfigBuilder_ != null) { return retryConfigBuilder_.getMessageOrBuilder(); } else { - return retryConfig_ == null - ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() - : retryConfig_; + return retryConfig_ == null ? + com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() : retryConfig_; } } /** - * - * *
      * Settings that determine the retry behavior.
      * 
@@ -4267,17 +3798,14 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.RetryConfig, - com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, - com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> + com.google.cloud.scheduler.v1beta1.RetryConfig, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> getRetryConfigFieldBuilder() { if (retryConfigBuilder_ == null) { - retryConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.RetryConfig, - com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, - com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder>( - getRetryConfig(), getParentForChildren(), isClean()); + retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.RetryConfig, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder>( + getRetryConfig(), + getParentForChildren(), + isClean()); retryConfig_ = null; } return retryConfigBuilder_; @@ -4285,13 +3813,8 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB private com.google.protobuf.Duration attemptDeadline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - attemptDeadlineBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> attemptDeadlineBuilder_; /** - * - * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4306,15 +3829,12 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB
      * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return Whether the attemptDeadline field is set. */ public boolean hasAttemptDeadline() { return attemptDeadlineBuilder_ != null || attemptDeadline_ != null; } /** - * - * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4329,21 +3849,16 @@ public boolean hasAttemptDeadline() {
      * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return The attemptDeadline. */ public com.google.protobuf.Duration getAttemptDeadline() { if (attemptDeadlineBuilder_ == null) { - return attemptDeadline_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : attemptDeadline_; + return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; } else { return attemptDeadlineBuilder_.getMessage(); } } /** - * - * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4373,8 +3888,6 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4390,7 +3903,8 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration attempt_deadline = 22;
      */
-    public Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAttemptDeadline(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (attemptDeadlineBuilder_ == null) {
         attemptDeadline_ = builderForValue.build();
         onChanged();
@@ -4401,8 +3915,6 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4422,9 +3934,7 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       if (attemptDeadlineBuilder_ == null) {
         if (attemptDeadline_ != null) {
           attemptDeadline_ =
-              com.google.protobuf.Duration.newBuilder(attemptDeadline_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(attemptDeadline_).mergeFrom(value).buildPartial();
         } else {
           attemptDeadline_ = value;
         }
@@ -4436,8 +3946,6 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4465,8 +3973,6 @@ public Builder clearAttemptDeadline() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4483,13 +3989,11 @@ public Builder clearAttemptDeadline() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     public com.google.protobuf.Duration.Builder getAttemptDeadlineBuilder() {
-
+      
       onChanged();
       return getAttemptDeadlineFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4509,14 +4013,11 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
       if (attemptDeadlineBuilder_ != null) {
         return attemptDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return attemptDeadline_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : attemptDeadline_;
+        return attemptDeadline_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_;
       }
     }
     /**
-     *
-     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4533,24 +4034,21 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getAttemptDeadlineFieldBuilder() {
       if (attemptDeadlineBuilder_ == null) {
-        attemptDeadlineBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getAttemptDeadline(), getParentForChildren(), isClean());
+        attemptDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getAttemptDeadline(),
+                getParentForChildren(),
+                isClean());
         attemptDeadline_ = null;
       }
       return attemptDeadlineBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4560,12 +4058,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.Job)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.Job)
   private static final com.google.cloud.scheduler.v1beta1.Job DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.Job();
   }
@@ -4574,16 +4072,16 @@ public static com.google.cloud.scheduler.v1beta1.Job getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Job parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Job(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Job parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Job(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4598,4 +4096,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1beta1.Job getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java
similarity index 100%
rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
similarity index 92%
rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
index 28629173..c08074e8 100644
--- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/job.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
-public interface JobOrBuilder
-    extends
+public interface JobOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.Job)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -45,13 +27,10 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -71,14 +50,12 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -87,13 +64,10 @@ public interface JobOrBuilder
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -102,38 +76,30 @@ public interface JobOrBuilder
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; - * * @return Whether the pubsubTarget field is set. */ boolean hasPubsubTarget(); /** - * - * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; - * * @return The pubsubTarget. */ com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget(); /** - * - * *
    * Pub/Sub target.
    * 
@@ -143,32 +109,24 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetOrBuilder(); /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; - * * @return The appEngineHttpTarget. */ com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTarget(); /** - * - * *
    * App Engine HTTP target.
    * 
@@ -178,32 +136,24 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder(); /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; - * * @return Whether the httpTarget field is set. */ boolean hasHttpTarget(); /** - * - * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; - * * @return The httpTarget. */ com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget(); /** - * - * *
    * HTTP target.
    * 
@@ -213,8 +163,6 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBuilder(); /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -237,13 +185,10 @@ public interface JobOrBuilder
    * 
* * string schedule = 20; - * * @return The schedule. */ java.lang.String getSchedule(); /** - * - * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -266,14 +211,12 @@ public interface JobOrBuilder
    * 
* * string schedule = 20; - * * @return The bytes for schedule. */ - com.google.protobuf.ByteString getScheduleBytes(); + com.google.protobuf.ByteString + getScheduleBytes(); /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -286,13 +229,10 @@ public interface JobOrBuilder
    * 
* * string time_zone = 21; - * * @return The timeZone. */ java.lang.String getTimeZone(); /** - * - * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -305,38 +245,30 @@ public interface JobOrBuilder
    * 
* * string time_zone = 21; - * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString getTimeZoneBytes(); + com.google.protobuf.ByteString + getTimeZoneBytes(); /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return Whether the userUpdateTime field is set. */ boolean hasUserUpdateTime(); /** - * - * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; - * * @return The userUpdateTime. */ com.google.protobuf.Timestamp getUserUpdateTime(); /** - * - * *
    * Output only. The creation time of the job.
    * 
@@ -346,57 +278,43 @@ public interface JobOrBuilder com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder(); /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; - * * @return The state. */ com.google.cloud.scheduler.v1beta1.Job.State getState(); /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -406,8 +324,6 @@ public interface JobOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -415,13 +331,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -429,13 +342,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Timestamp schedule_time = 17; - * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** - * - * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -447,32 +357,24 @@ public interface JobOrBuilder
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return Whether the lastAttemptTime field is set. */ boolean hasLastAttemptTime(); /** - * - * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; - * * @return The lastAttemptTime. */ com.google.protobuf.Timestamp getLastAttemptTime(); /** - * - * *
    * Output only. The time the last job attempt started.
    * 
@@ -482,32 +384,24 @@ public interface JobOrBuilder com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder(); /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; - * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; - * * @return The retryConfig. */ com.google.cloud.scheduler.v1beta1.RetryConfig getRetryConfig(); /** - * - * *
    * Settings that determine the retry behavior.
    * 
@@ -517,8 +411,6 @@ public interface JobOrBuilder com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrBuilder(); /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -533,13 +425,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return Whether the attemptDeadline field is set. */ boolean hasAttemptDeadline(); /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -554,13 +443,10 @@ public interface JobOrBuilder
    * 
* * .google.protobuf.Duration attempt_deadline = 22; - * * @return The attemptDeadline. */ com.google.protobuf.Duration getAttemptDeadline(); /** - * - * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java
new file mode 100644
index 00000000..1f401923
--- /dev/null
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java
@@ -0,0 +1,111 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/scheduler/v1beta1/job.proto
+
+package com.google.cloud.scheduler.v1beta1;
+
+public final class JobProto {
+  private JobProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n(google/cloud/scheduler/v1beta1/job.pro" +
+      "to\022\036google.cloud.scheduler.v1beta1\032\031goog" +
+      "le/api/resource.proto\032+google/cloud/sche" +
+      "duler/v1beta1/target.proto\032\036google/proto" +
+      "buf/duration.proto\032\037google/protobuf/time" +
+      "stamp.proto\032\027google/rpc/status.proto\032\034go" +
+      "ogle/api/annotations.proto\"\344\006\n\003Job\022\014\n\004na" +
+      "me\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022E\n\rpubsub_" +
+      "target\030\004 \001(\0132,.google.cloud.scheduler.v1" +
+      "beta1.PubsubTargetH\000\022U\n\026app_engine_http_" +
+      "target\030\005 \001(\01323.google.cloud.scheduler.v1" +
+      "beta1.AppEngineHttpTargetH\000\022A\n\013http_targ" +
+      "et\030\006 \001(\0132*.google.cloud.scheduler.v1beta" +
+      "1.HttpTargetH\000\022\020\n\010schedule\030\024 \001(\t\022\021\n\ttime" +
+      "_zone\030\025 \001(\t\0224\n\020user_update_time\030\t \001(\0132\032." +
+      "google.protobuf.Timestamp\0228\n\005state\030\n \001(\016" +
+      "2).google.cloud.scheduler.v1beta1.Job.St" +
+      "ate\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022" +
+      "1\n\rschedule_time\030\021 \001(\0132\032.google.protobuf" +
+      ".Timestamp\0225\n\021last_attempt_time\030\022 \001(\0132\032." +
+      "google.protobuf.Timestamp\022A\n\014retry_confi" +
+      "g\030\023 \001(\0132+.google.cloud.scheduler.v1beta1" +
+      ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" +
+      ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" +
+      "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" +
+      "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" +
+      "\n!cloudscheduler.googleapis.com/Job\0222pro" +
+      "jects/{project}/locations/{location}/job" +
+      "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" +
+      "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" +
+      "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" +
+      "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" +
+      "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" +
+      "oogle.protobuf.Duration\022\025\n\rmax_doublings" +
+      "\030\005 \001(\005By\n\"com.google.cloud.scheduler.v1b" +
+      "eta1B\010JobProtoP\001ZGgoogle.golang.org/genp" +
+      "roto/googleapis/cloud/scheduler/v1beta1;" +
+      "schedulerb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.rpc.StatusProto.getDescriptor(),
+          com.google.api.AnnotationsProto.getDescriptor(),
+        });
+    internal_static_google_cloud_scheduler_v1beta1_Job_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_scheduler_v1beta1_Job_descriptor,
+        new java.lang.String[] { "Name", "Description", "PubsubTarget", "AppEngineHttpTarget", "HttpTarget", "Schedule", "TimeZone", "UserUpdateTime", "State", "Status", "ScheduleTime", "LastAttemptTime", "RetryConfig", "AttemptDeadline", "Target", });
+    internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor,
+        new java.lang.String[] { "RetryCount", "MaxRetryDuration", "MinBackoffDuration", "MaxBackoffDuration", "MaxDoublings", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
similarity index 72%
rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
index 8bc0c40b..680e868c 100644
--- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
 /**
- *
- *
  * 
  * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsRequest} */ -public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.ListJobsRequest) ListJobsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListJobsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 40: - { - pageSize_ = input.readInt32(); - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 40: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,42 +85,35 @@ private ListJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, - com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -148,32 +122,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** - * - * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -195,7 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -206,8 +175,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -219,7 +186,6 @@ public int getPageSize() {
    * 
* * string page_token = 6; - * * @return The pageToken. */ @java.lang.Override @@ -228,15 +194,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -248,15 +213,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -265,7 +231,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,7 +242,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -300,7 +266,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -313,17 +280,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.ListJobsRequest other = - (com.google.cloud.scheduler.v1beta1.ListJobsRequest) obj; + com.google.cloud.scheduler.v1beta1.ListJobsRequest other = (com.google.cloud.scheduler.v1beta1.ListJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -347,126 +316,117 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.ListJobsRequest) com.google.cloud.scheduler.v1beta1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, - com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.ListJobsRequest.newBuilder() @@ -474,15 +434,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +457,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; } @java.lang.Override @@ -517,8 +478,7 @@ public com.google.cloud.scheduler.v1beta1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.ListJobsRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.ListJobsRequest result = - new com.google.cloud.scheduler.v1beta1.ListJobsRequest(this); + com.google.cloud.scheduler.v1beta1.ListJobsRequest result = new com.google.cloud.scheduler.v1beta1.ListJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -530,39 +490,38 @@ public com.google.cloud.scheduler.v1beta1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.ListJobsRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -570,8 +529,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ListJobsRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.ListJobsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.scheduler.v1beta1.ListJobsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -602,8 +560,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.scheduler.v1beta1.ListJobsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.scheduler.v1beta1.ListJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,23 +572,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -640,24 +593,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -665,79 +615,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -747,7 +682,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 5; - * * @return The pageSize. */ @java.lang.Override @@ -755,8 +689,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -766,19 +698,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -788,11 +717,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -800,8 +728,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -813,13 +739,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -828,8 +754,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -841,14 +765,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -856,8 +781,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -869,22 +792,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 6; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -896,18 +817,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 6; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -919,23 +837,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -945,12 +863,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.ListJobsRequest) private static final com.google.cloud.scheduler.v1beta1.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.ListJobsRequest(); } @@ -959,16 +877,16 @@ public static com.google.cloud.scheduler.v1beta1.ListJobsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -983,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java index b2a579c0..130b4af5 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -66,14 +39,11 @@ public interface ListJobsRequestOrBuilder
    * 
* * int32 page_size = 5; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -85,13 +55,10 @@ public interface ListJobsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -103,8 +70,8 @@ public interface ListJobsRequestOrBuilder
    * 
* * string page_token = 6; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java similarity index 74% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java index 23b010c7..c3464ad1 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsResponse} */ -public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListJobsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.ListJobsResponse) ListJobsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListJobsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - jobs_.add( - input.readMessage( - com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + jobs_.add( + input.readMessage(com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -113,27 +94,22 @@ private ListJobsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, - com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * The list of jobs.
    * 
@@ -145,8 +121,6 @@ public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * The list of jobs.
    * 
@@ -154,13 +128,11 @@ public java.util.List getJobsList() { * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * The list of jobs.
    * 
@@ -172,8 +144,6 @@ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * The list of jobs.
    * 
@@ -185,8 +155,6 @@ public com.google.cloud.scheduler.v1beta1.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * The list of jobs.
    * 
@@ -194,15 +162,14 @@ public com.google.cloud.scheduler.v1beta1.Job getJobs(int index) { * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( + int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -213,7 +180,6 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -222,15 +188,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -241,15 +206,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -287,7 +253,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, jobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -300,16 +267,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.ListJobsResponse)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.ListJobsResponse other = - (com.google.cloud.scheduler.v1beta1.ListJobsResponse) obj; + com.google.cloud.scheduler.v1beta1.ListJobsResponse other = (com.google.cloud.scheduler.v1beta1.ListJobsResponse) obj; - if (!getJobsList().equals(other.getJobsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getJobsList() + .equals(other.getJobsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -333,126 +301,117 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.ListJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.ListJobsResponse) com.google.cloud.scheduler.v1beta1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, - com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.ListJobsResponse.newBuilder() @@ -460,17 +419,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getJobsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; } @java.lang.Override @@ -507,8 +466,7 @@ public com.google.cloud.scheduler.v1beta1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.ListJobsResponse buildPartial() { - com.google.cloud.scheduler.v1beta1.ListJobsResponse result = - new com.google.cloud.scheduler.v1beta1.ListJobsResponse(this); + com.google.cloud.scheduler.v1beta1.ListJobsResponse result = new com.google.cloud.scheduler.v1beta1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -528,39 +486,38 @@ public com.google.cloud.scheduler.v1beta1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.ListJobsResponse) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsResponse) other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -568,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ListJobsResponse other) { - if (other == com.google.cloud.scheduler.v1beta1.ListJobsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.scheduler.v1beta1.ListJobsResponse.getDefaultInstance()) return this; if (jobsBuilder_ == null) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { @@ -588,10 +544,9 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ListJobsResponse oth jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getJobsFieldBuilder() - : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getJobsFieldBuilder() : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -620,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.scheduler.v1beta1.ListJobsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.scheduler.v1beta1.ListJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,28 +584,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder> - jobsBuilder_; + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> jobsBuilder_; /** - * - * *
      * The list of jobs.
      * 
@@ -666,8 +613,6 @@ public java.util.List getJobsList() { } } /** - * - * *
      * The list of jobs.
      * 
@@ -682,8 +627,6 @@ public int getJobsCount() { } } /** - * - * *
      * The list of jobs.
      * 
@@ -698,15 +641,14 @@ public com.google.cloud.scheduler.v1beta1.Job getJobs(int index) { } } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.scheduler.v1beta1.Job value) { + public Builder setJobs( + int index, com.google.cloud.scheduler.v1beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -720,8 +662,6 @@ public Builder setJobs(int index, com.google.cloud.scheduler.v1beta1.Job value) return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -740,8 +680,6 @@ public Builder setJobs( return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -762,15 +700,14 @@ public Builder addJobs(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.scheduler.v1beta1.Job value) { + public Builder addJobs( + int index, com.google.cloud.scheduler.v1beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -784,15 +721,14 @@ public Builder addJobs(int index, com.google.cloud.scheduler.v1beta1.Job value) return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public Builder addJobs(com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -803,8 +739,6 @@ public Builder addJobs(com.google.cloud.scheduler.v1beta1.Job.Builder builderFor return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -823,8 +757,6 @@ public Builder addJobs( return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -835,7 +767,8 @@ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -843,8 +776,6 @@ public Builder addAllJobs( return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -862,8 +793,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * The list of jobs.
      * 
@@ -881,44 +810,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1beta1.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.scheduler.v1beta1.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -926,8 +850,6 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int inde } } /** - * - * *
      * The list of jobs.
      * 
@@ -935,47 +857,42 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int inde * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder() - .addBuilder(com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); + public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); } /** - * - * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder> + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -983,8 +900,6 @@ public java.util.List getJobsBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -995,13 +910,13 @@ public java.util.List getJobsBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1010,8 +925,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1022,14 +935,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1037,8 +951,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1049,22 +961,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1075,18 +985,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1097,23 +1004,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +1030,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.ListJobsResponse) private static final com.google.cloud.scheduler.v1beta1.ListJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.ListJobsResponse(); } @@ -1137,16 +1044,16 @@ public static com.google.cloud.scheduler.v1beta1.ListJobsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1161,4 +1068,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java index 37621cf5..9708c9cd 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface ListJobsResponseOrBuilder - extends +public interface ListJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * The list of jobs.
    * 
@@ -44,8 +25,6 @@ public interface ListJobsResponseOrBuilder */ com.google.cloud.scheduler.v1beta1.Job getJobs(int index); /** - * - * *
    * The list of jobs.
    * 
@@ -54,29 +33,25 @@ public interface ListJobsResponseOrBuilder */ int getJobsCount(); /** - * - * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -87,13 +62,10 @@ public interface ListJobsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -104,8 +76,8 @@ public interface ListJobsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java similarity index 100% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java similarity index 73% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java index a623b895..e4dd8701 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.OAuthToken}
  */
-public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OAuthToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.OAuthToken)
     OAuthTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -47,15 +29,16 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,27 +57,25 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              scope_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            scope_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -102,33 +83,29 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.OAuthToken.class,
-            com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
+            com.google.cloud.scheduler.v1beta1.OAuthToken.class, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -137,7 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -146,15 +122,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -163,15 +138,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -191,7 +165,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
    * 
* * string scope = 2; - * * @return The scope. */ @java.lang.Override @@ -200,15 +173,14 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -216,15 +188,16 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; - * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -233,7 +206,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -275,16 +248,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.OAuthToken)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.OAuthToken other = - (com.google.cloud.scheduler.v1beta1.OAuthToken) obj; + com.google.cloud.scheduler.v1beta1.OAuthToken other = (com.google.cloud.scheduler.v1beta1.OAuthToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getScope().equals(other.getScope())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getScope() + .equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,104 +279,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.OAuthToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.OAuthToken)
       com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.OAuthToken.class,
-              com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
+              com.google.cloud.scheduler.v1beta1.OAuthToken.class, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.OAuthToken buildPartial() {
-      com.google.cloud.scheduler.v1beta1.OAuthToken result =
-          new com.google.cloud.scheduler.v1beta1.OAuthToken(this);
+      com.google.cloud.scheduler.v1beta1.OAuthToken result = new com.google.cloud.scheduler.v1beta1.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.OAuthToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.OAuthToken) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.OAuthToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -579,13 +541,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -594,8 +556,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -604,14 +564,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -619,8 +580,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -629,22 +588,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -653,18 +610,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -673,16 +627,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -690,8 +644,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object scope_ = ""; /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -699,13 +651,13 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
      * 
* * string scope = 2; - * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -714,8 +666,6 @@ public java.lang.String getScope() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -723,14 +673,15 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; - * * @return The bytes for scope. */ - public com.google.protobuf.ByteString getScopeBytes() { + public com.google.protobuf.ByteString + getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); scope_ = b; return b; } else { @@ -738,8 +689,6 @@ public com.google.protobuf.ByteString getScopeBytes() { } } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -747,22 +696,20 @@ public com.google.protobuf.ByteString getScopeBytes() {
      * 
* * string scope = 2; - * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope(java.lang.String value) { + public Builder setScope( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -770,18 +717,15 @@ public Builder setScope(java.lang.String value) {
      * 
* * string scope = 2; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** - * - * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -789,23 +733,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; - * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes(com.google.protobuf.ByteString value) { + public Builder setScopeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.OAuthToken) private static final com.google.cloud.scheduler.v1beta1.OAuthToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.OAuthToken(); } @@ -829,16 +773,16 @@ public static com.google.cloud.scheduler.v1beta1.OAuthToken getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -853,4 +797,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java index 7686a9e8..8d34b9fa 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface OAuthTokenOrBuilder - extends +public interface OAuthTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.OAuthToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -34,13 +16,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -49,14 +28,12 @@ public interface OAuthTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -64,13 +41,10 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The scope. */ java.lang.String getScope(); /** - * - * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -78,8 +52,8 @@ public interface OAuthTokenOrBuilder
    * 
* * string scope = 2; - * * @return The bytes for scope. */ - com.google.protobuf.ByteString getScopeBytes(); + com.google.protobuf.ByteString + getScopeBytes(); } diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java similarity index 73% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java index b5d41aa4..869e6aa3 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.OidcToken}
  */
-public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OidcToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.OidcToken)
     OidcTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -49,15 +31,16 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,27 +59,25 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              serviceAccountEmail_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            serviceAccountEmail_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              audience_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            audience_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -104,33 +85,29 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.OidcToken.class,
-            com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
+            com.google.cloud.scheduler.v1beta1.OidcToken.class, com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
-   *
-   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -139,7 +116,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -148,15 +124,14 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -165,15 +140,16 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -184,15 +160,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ @java.lang.Override @@ -201,30 +174,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -233,7 +206,6 @@ public com.google.protobuf.ByteString getAudienceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -275,16 +248,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.OidcToken)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.OidcToken other = - (com.google.cloud.scheduler.v1beta1.OidcToken) obj; + com.google.cloud.scheduler.v1beta1.OidcToken other = (com.google.cloud.scheduler.v1beta1.OidcToken) obj; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getAudience().equals(other.getAudience())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getAudience() + .equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -305,104 +279,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -414,23 +381,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.OidcToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.OidcToken)
       com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.OidcToken.class,
-              com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
+              com.google.cloud.scheduler.v1beta1.OidcToken.class, com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder()
@@ -438,15 +403,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -458,9 +424,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -479,8 +445,7 @@ public com.google.cloud.scheduler.v1beta1.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.OidcToken buildPartial() {
-      com.google.cloud.scheduler.v1beta1.OidcToken result =
-          new com.google.cloud.scheduler.v1beta1.OidcToken(this);
+      com.google.cloud.scheduler.v1beta1.OidcToken result = new com.google.cloud.scheduler.v1beta1.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -491,39 +456,38 @@ public com.google.cloud.scheduler.v1beta1.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.OidcToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.OidcToken) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.OidcToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -571,8 +535,6 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
-     *
-     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -581,13 +543,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -596,8 +558,6 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -606,14 +566,15 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -621,8 +582,6 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -631,22 +590,20 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
      * 
* * string service_account_email = 1; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -655,18 +612,15 @@ public Builder setServiceAccountEmail(java.lang.String value) {
      * 
* * string service_account_email = 1; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -675,16 +629,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -692,21 +646,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object audience_ = ""; /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -715,22 +667,21 @@ public java.lang.String getAudience() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return The bytes for audience. */ - public com.google.protobuf.ByteString getAudienceBytes() { + public com.google.protobuf.ByteString + getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); audience_ = b; return b; } else { @@ -738,71 +689,64 @@ public com.google.protobuf.ByteString getAudienceBytes() { } } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience(java.lang.String value) { + public Builder setAudience( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** - * - * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; - * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + public Builder setAudienceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -812,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.OidcToken) private static final com.google.cloud.scheduler.v1beta1.OidcToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.OidcToken(); } @@ -826,16 +770,16 @@ public static com.google.cloud.scheduler.v1beta1.OidcToken getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,4 +794,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java similarity index 67% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java index 237f944e..2177d199 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface OidcTokenOrBuilder - extends +public interface OidcTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.OidcToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -34,13 +16,10 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -49,35 +28,30 @@ public interface OidcTokenOrBuilder
    * 
* * string service_account_email = 1; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The audience. */ java.lang.String getAudience(); /** - * - * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; - * * @return The bytes for audience. */ - com.google.protobuf.ByteString getAudienceBytes(); + com.google.protobuf.ByteString + getAudienceBytes(); } diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java similarity index 65% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java index 8632de56..6fb57240 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.PauseJobRequest} */ -public final class PauseJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PauseJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.PauseJobRequest) PauseJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PauseJobRequest.newBuilder() to construct. private PauseJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PauseJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PauseJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PauseJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private PauseJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private PauseJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, - com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.PauseJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.PauseJobRequest other = - (com.google.cloud.scheduler.v1beta1.PauseJobRequest) obj; + com.google.cloud.scheduler.v1beta1.PauseJobRequest other = (com.google.cloud.scheduler.v1beta1.PauseJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.PauseJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.PauseJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.PauseJobRequest) com.google.cloud.scheduler.v1beta1.PauseJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, - com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.PauseJobRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.scheduler.v1beta1.PauseJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.PauseJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.PauseJobRequest result = - new com.google.cloud.scheduler.v1beta1.PauseJobRequest(this); + com.google.cloud.scheduler.v1beta1.PauseJobRequest result = new com.google.cloud.scheduler.v1beta1.PauseJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.scheduler.v1beta1.PauseJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.PauseJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.PauseJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.PauseJobRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.PauseJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.PauseJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.scheduler.v1beta1.PauseJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.scheduler.v1beta1.PauseJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.scheduler.v1beta1.PauseJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.PauseJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.PauseJobRequest) private static final com.google.cloud.scheduler.v1beta1.PauseJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.PauseJobRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.scheduler.v1beta1.PauseJobRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.PauseJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java new file mode 100644 index 00000000..58086c60 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface PauseJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.PauseJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java similarity index 68% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java index 37fa5939..fb31fdf2 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Pub/Sub target. The job will be delivered by publishing a message to
  * the given Pub/Sub topic.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.PubsubTarget}
  */
-public final class PubsubTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PubsubTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.PubsubTarget)
     PubsubTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PubsubTarget.newBuilder() to construct.
   private PubsubTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PubsubTarget() {
     topicName_ = "";
     data_ = com.google.protobuf.ByteString.EMPTY;
@@ -45,15 +27,16 @@ private PubsubTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PubsubTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private PubsubTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,40 +56,37 @@ private PubsubTarget(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              topicName_ = s;
-              break;
-            }
-          case 26:
-            {
-              data_ = input.readBytes();
-              break;
-            }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                attributes_ =
-                    com.google.protobuf.MapField.newMapField(
-                        AttributesDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry attributes__ =
-                  input.readMessage(
-                      AttributesDefaultEntryHolder.defaultEntry.getParserForType(),
-                      extensionRegistry);
-              attributes_.getMutableMap().put(attributes__.getKey(), attributes__.getValue());
-              break;
+            topicName_ = s;
+            break;
+          }
+          case 26: {
+
+            data_ = input.readBytes();
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              attributes_ = com.google.protobuf.MapField.newMapField(
+                  AttributesDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            attributes__ = input.readMessage(
+                AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            attributes_.getMutableMap().put(
+                attributes__.getKey(), attributes__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,44 +94,41 @@ private PubsubTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetAttributes();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto
-        .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.PubsubTarget.class,
-            com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
+            com.google.cloud.scheduler.v1beta1.PubsubTarget.class, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
   }
 
   public static final int TOPIC_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object topicName_;
   /**
-   *
-   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -162,7 +139,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The topicName. */ @java.lang.Override @@ -171,15 +147,14 @@ public java.lang.String getTopicName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; } } /** - * - * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -190,15 +165,16 @@ public java.lang.String getTopicName() {
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topicName. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicNameBytes() { + public com.google.protobuf.ByteString + getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topicName_ = b; return b; } else { @@ -209,8 +185,6 @@ public com.google.protobuf.ByteString getTopicNameBytes() { public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** - * - * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -218,7 +192,6 @@ public com.google.protobuf.ByteString getTopicNameBytes() {
    * 
* * bytes data = 3; - * * @return The data. */ @java.lang.Override @@ -227,23 +200,24 @@ public com.google.protobuf.ByteString getData() { } public static final int ATTRIBUTES_FIELD_NUMBER = 4; - private static final class AttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.scheduler.v1beta1.TargetProto - .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField attributes_; - - private com.google.protobuf.MapField internalGetAttributes() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> attributes_; + private com.google.protobuf.MapField + internalGetAttributes() { if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField(AttributesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } @@ -252,8 +226,6 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** - * - * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -262,22 +234,22 @@ public int getAttributesCount() {
    *
    * map<string, string> attributes = 4;
    */
+
   @java.lang.Override
-  public boolean containsAttributes(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAttributes(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAttributes().getMap().containsKey(key);
   }
-  /** Use {@link #getAttributesMap()} instead. */
+  /**
+   * Use {@link #getAttributesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAttributes() {
     return getAttributesMap();
   }
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -287,12 +259,11 @@ public java.util.Map getAttributes() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
+
   public java.util.Map getAttributesMap() {
     return internalGetAttributes().getMap();
   }
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -302,17 +273,16 @@ public java.util.Map getAttributesMap() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
+
   public java.lang.String getAttributesOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAttributes().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -322,11 +292,12 @@ public java.lang.String getAttributesOrDefault(
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-  public java.lang.String getAttributesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAttributes().getMap();
+
+  public java.lang.String getAttributesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAttributes().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -334,7 +305,6 @@ public java.lang.String getAttributesOrThrow(java.lang.String key) {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -346,15 +316,20 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topicName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topicName_);
     }
     if (!data_.isEmpty()) {
       output.writeBytes(3, data_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 4);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetAttributes(),
+        AttributesDefaultEntryHolder.defaultEntry,
+        4);
     unknownFields.writeTo(output);
   }
 
@@ -368,17 +343,18 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topicName_);
     }
     if (!data_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, data_);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetAttributes().getMap().entrySet()) {
-      com.google.protobuf.MapEntry attributes__ =
-          AttributesDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, attributes__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(3, data_);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetAttributes().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, attributes__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -388,17 +364,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1beta1.PubsubTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1beta1.PubsubTarget other =
-        (com.google.cloud.scheduler.v1beta1.PubsubTarget) obj;
+    com.google.cloud.scheduler.v1beta1.PubsubTarget other = (com.google.cloud.scheduler.v1beta1.PubsubTarget) obj;
 
-    if (!getTopicName().equals(other.getTopicName())) return false;
-    if (!getData().equals(other.getData())) return false;
-    if (!internalGetAttributes().equals(other.internalGetAttributes())) return false;
+    if (!getTopicName()
+        .equals(other.getTopicName())) return false;
+    if (!getData()
+        .equals(other.getData())) return false;
+    if (!internalGetAttributes().equals(
+        other.internalGetAttributes())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -423,104 +401,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.PubsubTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Pub/Sub target. The job will be delivered by publishing a message to
    * the given Pub/Sub topic.
@@ -528,43 +499,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.PubsubTarget}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.PubsubTarget)
       com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableAttributes();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.PubsubTarget.class,
-              com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
+              com.google.cloud.scheduler.v1beta1.PubsubTarget.class, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.PubsubTarget.newBuilder()
@@ -572,15 +543,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -593,9 +565,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto
-          .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
     }
 
     @java.lang.Override
@@ -614,8 +586,7 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.PubsubTarget buildPartial() {
-      com.google.cloud.scheduler.v1beta1.PubsubTarget result =
-          new com.google.cloud.scheduler.v1beta1.PubsubTarget(this);
+      com.google.cloud.scheduler.v1beta1.PubsubTarget result = new com.google.cloud.scheduler.v1beta1.PubsubTarget(this);
       int from_bitField0_ = bitField0_;
       result.topicName_ = topicName_;
       result.data_ = data_;
@@ -629,39 +600,38 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.PubsubTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -669,8 +639,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.PubsubTarget other) {
-      if (other == com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance()) return this;
       if (!other.getTopicName().isEmpty()) {
         topicName_ = other.topicName_;
         onChanged();
@@ -678,7 +647,8 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.PubsubTarget other)
       if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
         setData(other.getData());
       }
-      internalGetMutableAttributes().mergeFrom(other.internalGetAttributes());
+      internalGetMutableAttributes().mergeFrom(
+          other.internalGetAttributes());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -707,13 +677,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object topicName_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -724,13 +691,13 @@ public Builder mergeFrom(
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The topicName. */ public java.lang.String getTopicName() { java.lang.Object ref = topicName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; @@ -739,8 +706,6 @@ public java.lang.String getTopicName() { } } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -751,14 +716,15 @@ public java.lang.String getTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topicName. */ - public com.google.protobuf.ByteString getTopicNameBytes() { + public com.google.protobuf.ByteString + getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topicName_ = b; return b; } else { @@ -766,8 +732,6 @@ public com.google.protobuf.ByteString getTopicNameBytes() { } } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -778,22 +742,20 @@ public com.google.protobuf.ByteString getTopicNameBytes() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The topicName to set. * @return This builder for chaining. */ - public Builder setTopicName(java.lang.String value) { + public Builder setTopicName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topicName_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -804,18 +766,15 @@ public Builder setTopicName(java.lang.String value) {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTopicName() { - + topicName_ = getDefaultInstance().getTopicName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -826,16 +785,16 @@ public Builder clearTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for topicName to set. * @return This builder for chaining. */ - public Builder setTopicNameBytes(com.google.protobuf.ByteString value) { + public Builder setTopicNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topicName_ = value; onChanged(); return this; @@ -843,8 +802,6 @@ public Builder setTopicNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -852,7 +809,6 @@ public Builder setTopicNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes data = 3; - * * @return The data. */ @java.lang.Override @@ -860,8 +816,6 @@ public com.google.protobuf.ByteString getData() { return data_; } /** - * - * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -869,22 +823,19 @@ public com.google.protobuf.ByteString getData() {
      * 
* * bytes data = 3; - * * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + data_ = value; onChanged(); return this; } /** - * - * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -892,34 +843,31 @@ public Builder setData(com.google.protobuf.ByteString value) {
      * 
* * bytes data = 3; - * * @return This builder for chaining. */ public Builder clearData() { - + data_ = getDefaultInstance().getData(); onChanged(); return this; } - private com.google.protobuf.MapField attributes_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> attributes_; private com.google.protobuf.MapField - internalGetAttributes() { + internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } - private com.google.protobuf.MapField - internalGetMutableAttributes() { - onChanged(); - ; + internalGetMutableAttributes() { + onChanged();; if (attributes_ == null) { - attributes_ = - com.google.protobuf.MapField.newMapField(AttributesDefaultEntryHolder.defaultEntry); + attributes_ = com.google.protobuf.MapField.newMapField( + AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); @@ -931,8 +879,6 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** - * - * *
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -941,22 +887,22 @@ public int getAttributesCount() {
      *
      * map<string, string> attributes = 4;
      */
+
     @java.lang.Override
-    public boolean containsAttributes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAttributes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAttributes().getMap().containsKey(key);
     }
-    /** Use {@link #getAttributesMap()} instead. */
+    /**
+     * Use {@link #getAttributesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAttributes() {
       return getAttributesMap();
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -966,12 +912,11 @@ public java.util.Map getAttributes() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
+
     public java.util.Map getAttributesMap() {
       return internalGetAttributes().getMap();
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -981,17 +926,16 @@ public java.util.Map getAttributesMap() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
+
     public java.lang.String getAttributesOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAttributes().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1001,11 +945,12 @@ public java.lang.String getAttributesOrDefault(
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-    public java.lang.String getAttributesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAttributes().getMap();
+
+    public java.lang.String getAttributesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAttributes().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1013,12 +958,11 @@ public java.lang.String getAttributesOrThrow(java.lang.String key) {
     }
 
     public Builder clearAttributes() {
-      internalGetMutableAttributes().getMutableMap().clear();
+      internalGetMutableAttributes().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1027,21 +971,23 @@ public Builder clearAttributes() {
      *
      * map<string, string> attributes = 4;
      */
-    public Builder removeAttributes(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAttributes().getMutableMap().remove(key);
+
+    public Builder removeAttributes(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAttributes().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAttributes() {
+    public java.util.Map
+    getMutableAttributes() {
       return internalGetMutableAttributes().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1050,20 +996,19 @@ public java.util.Map getMutableAttributes()
      *
      * map<string, string> attributes = 4;
      */
-    public Builder putAttributes(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAttributes(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableAttributes().getMutableMap().put(key, value);
+      internalGetMutableAttributes().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1072,13 +1017,16 @@ public Builder putAttributes(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> attributes = 4;
      */
-    public Builder putAllAttributes(java.util.Map values) {
-      internalGetMutableAttributes().getMutableMap().putAll(values);
+
+    public Builder putAllAttributes(
+        java.util.Map values) {
+      internalGetMutableAttributes().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1088,12 +1036,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.PubsubTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.PubsubTarget)
   private static final com.google.cloud.scheduler.v1beta1.PubsubTarget DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.PubsubTarget();
   }
@@ -1102,16 +1050,16 @@ public static com.google.cloud.scheduler.v1beta1.PubsubTarget getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PubsubTarget parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new PubsubTarget(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PubsubTarget parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new PubsubTarget(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1126,4 +1074,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1beta1.PubsubTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
similarity index 71%
rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
index ff10a72f..d0502f29 100644
--- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/target.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
-public interface PubsubTargetOrBuilder
-    extends
+public interface PubsubTargetOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.PubsubTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -36,13 +18,10 @@ public interface PubsubTargetOrBuilder
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The topicName. */ java.lang.String getTopicName(); /** - * - * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -53,14 +32,12 @@ public interface PubsubTargetOrBuilder
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topicName. */ - com.google.protobuf.ByteString getTopicNameBytes(); + com.google.protobuf.ByteString + getTopicNameBytes(); /** - * - * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -68,14 +45,11 @@ public interface PubsubTargetOrBuilder
    * 
* * bytes data = 3; - * * @return The data. */ com.google.protobuf.ByteString getData(); /** - * - * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -86,8 +60,6 @@ public interface PubsubTargetOrBuilder
    */
   int getAttributesCount();
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -96,13 +68,15 @@ public interface PubsubTargetOrBuilder
    *
    * map<string, string> attributes = 4;
    */
-  boolean containsAttributes(java.lang.String key);
-  /** Use {@link #getAttributesMap()} instead. */
+  boolean containsAttributes(
+      java.lang.String key);
+  /**
+   * Use {@link #getAttributesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAttributes();
+  java.util.Map
+  getAttributes();
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -111,10 +85,9 @@ public interface PubsubTargetOrBuilder
    *
    * map<string, string> attributes = 4;
    */
-  java.util.Map getAttributesMap();
+  java.util.Map
+  getAttributesMap();
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -125,13 +98,11 @@ public interface PubsubTargetOrBuilder
    */
 
   /* nullable */
-  java.lang.String getAttributesOrDefault(
+java.lang.String getAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -140,5 +111,7 @@ java.lang.String getAttributesOrDefault(
    *
    * map<string, string> attributes = 4;
    */
-  java.lang.String getAttributesOrThrow(java.lang.String key);
+
+  java.lang.String getAttributesOrThrow(
+      java.lang.String key);
 }
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
similarity index 65%
rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
index 71718710..ed9cb4fe 100644
--- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
+++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
 /**
- *
- *
  * 
  * Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ResumeJobRequest} */ -public final class ResumeJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResumeJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.ResumeJobRequest) ResumeJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResumeJobRequest.newBuilder() to construct. private ResumeJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResumeJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResumeJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResumeJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private ResumeJobRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private ResumeJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, - com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.ResumeJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.ResumeJobRequest other = - (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) obj; + com.google.cloud.scheduler.v1beta1.ResumeJobRequest other = (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,126 +206,117 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.ResumeJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ResumeJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.ResumeJobRequest) com.google.cloud.scheduler.v1beta1.ResumeJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, - com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.ResumeJobRequest.newBuilder() @@ -360,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; } @java.lang.Override @@ -399,8 +364,7 @@ public com.google.cloud.scheduler.v1beta1.ResumeJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.ResumeJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.ResumeJobRequest result = - new com.google.cloud.scheduler.v1beta1.ResumeJobRequest(this); + com.google.cloud.scheduler.v1beta1.ResumeJobRequest result = new com.google.cloud.scheduler.v1beta1.ResumeJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +374,38 @@ public com.google.cloud.scheduler.v1beta1.ResumeJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.ResumeJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.ResumeJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.ResumeJobRequest)other); } else { super.mergeFrom(other); return this; @@ -450,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ResumeJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.ResumeJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.scheduler.v1beta1.ResumeJobRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -488,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -513,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.ResumeJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.ResumeJobRequest) private static final com.google.cloud.scheduler.v1beta1.ResumeJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.ResumeJobRequest(); } @@ -632,16 +573,16 @@ public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -656,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.ResumeJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java new file mode 100644 index 00000000..58ab2445 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface ResumeJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ResumeJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java similarity index 78% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java index 96374273..b3b029d1 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/job.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Settings that determine the retry behavior.
  * By default, if a job does not complete successfully (meaning that
@@ -30,29 +13,30 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.RetryConfig}
  */
-public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RetryConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.RetryConfig)
     RetryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RetryConfig() {}
+  private RetryConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,68 +55,62 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8:
-            {
-              retryCount_ = input.readInt32();
-              break;
+          case 8: {
+
+            retryCount_ = input.readInt32();
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxRetryDuration_ != null) {
+              subBuilder = maxRetryDuration_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxRetryDuration_ != null) {
-                subBuilder = maxRetryDuration_.toBuilder();
-              }
-              maxRetryDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxRetryDuration_);
-                maxRetryDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxRetryDuration_);
+              maxRetryDuration_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (minBackoffDuration_ != null) {
-                subBuilder = minBackoffDuration_.toBuilder();
-              }
-              minBackoffDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(minBackoffDuration_);
-                minBackoffDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (minBackoffDuration_ != null) {
+              subBuilder = minBackoffDuration_.toBuilder();
             }
-          case 34:
-            {
-              com.google.protobuf.Duration.Builder subBuilder = null;
-              if (maxBackoffDuration_ != null) {
-                subBuilder = maxBackoffDuration_.toBuilder();
-              }
-              maxBackoffDuration_ =
-                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(maxBackoffDuration_);
-                maxBackoffDuration_ = subBuilder.buildPartial();
-              }
-
-              break;
+            minBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(minBackoffDuration_);
+              minBackoffDuration_ = subBuilder.buildPartial();
             }
-          case 40:
-            {
-              maxDoublings_ = input.readInt32();
-              break;
+
+            break;
+          }
+          case 34: {
+            com.google.protobuf.Duration.Builder subBuilder = null;
+            if (maxBackoffDuration_ != null) {
+              subBuilder = maxBackoffDuration_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            maxBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(maxBackoffDuration_);
+              maxBackoffDuration_ = subBuilder.buildPartial();
             }
+
+            break;
+          }
+          case 40: {
+
+            maxDoublings_ = input.readInt32();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -140,33 +118,29 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.JobProto
-        .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.JobProto
-        .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.RetryConfig.class,
-            com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
+            com.google.cloud.scheduler.v1beta1.RetryConfig.class, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
   }
 
   public static final int RETRY_COUNT_FIELD_NUMBER = 1;
   private int retryCount_;
   /**
-   *
-   *
    * 
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -183,7 +157,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 retry_count = 1; - * * @return The retryCount. */ @java.lang.Override @@ -194,8 +167,6 @@ public int getRetryCount() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -206,7 +177,6 @@ public int getRetryCount() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -214,8 +184,6 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -226,18 +194,13 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -257,8 +220,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoffDuration_;
   /**
-   *
-   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -266,7 +227,6 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return Whether the minBackoffDuration field is set. */ @java.lang.Override @@ -274,8 +234,6 @@ public boolean hasMinBackoffDuration() { return minBackoffDuration_ != null; } /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -283,18 +241,13 @@ public boolean hasMinBackoffDuration() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return The minBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinBackoffDuration() { - return minBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoffDuration_; + return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; } /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -311,8 +264,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
   public static final int MAX_BACKOFF_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoffDuration_;
   /**
-   *
-   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -320,7 +271,6 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return Whether the maxBackoffDuration field is set. */ @java.lang.Override @@ -328,8 +278,6 @@ public boolean hasMaxBackoffDuration() { return maxBackoffDuration_ != null; } /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -337,18 +285,13 @@ public boolean hasMaxBackoffDuration() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return The maxBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxBackoffDuration() { - return maxBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoffDuration_; + return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; } /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -365,8 +308,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -387,7 +328,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -396,7 +336,6 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (retryCount_ != 0) { output.writeInt32(1, retryCount_); } @@ -434,19 +374,24 @@ public int getSerializedSize() { size = 0; if (retryCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retryCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, retryCount_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMaxRetryDuration()); } if (minBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoffDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMinBackoffDuration()); } if (maxBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoffDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaxBackoffDuration()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -456,28 +401,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.RetryConfig)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.RetryConfig other = - (com.google.cloud.scheduler.v1beta1.RetryConfig) obj; + com.google.cloud.scheduler.v1beta1.RetryConfig other = (com.google.cloud.scheduler.v1beta1.RetryConfig) obj; - if (getRetryCount() != other.getRetryCount()) return false; + if (getRetryCount() + != other.getRetryCount()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration() + .equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoffDuration() != other.hasMinBackoffDuration()) return false; if (hasMinBackoffDuration()) { - if (!getMinBackoffDuration().equals(other.getMinBackoffDuration())) return false; + if (!getMinBackoffDuration() + .equals(other.getMinBackoffDuration())) return false; } if (hasMaxBackoffDuration() != other.hasMaxBackoffDuration()) return false; if (hasMaxBackoffDuration()) { - if (!getMaxBackoffDuration().equals(other.getMaxBackoffDuration())) return false; + if (!getMaxBackoffDuration() + .equals(other.getMaxBackoffDuration())) return false; } - if (getMaxDoublings() != other.getMaxDoublings()) return false; + if (getMaxDoublings() + != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -510,104 +459,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Settings that determine the retry behavior.
    * By default, if a job does not complete successfully (meaning that
@@ -617,23 +559,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.RetryConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.RetryConfig)
       com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.JobProto
-          .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.JobProto
-          .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.RetryConfig.class,
-              com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
+              com.google.cloud.scheduler.v1beta1.RetryConfig.class, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.RetryConfig.newBuilder()
@@ -641,15 +581,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -679,9 +620,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.JobProto
-          .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -700,8 +641,7 @@ public com.google.cloud.scheduler.v1beta1.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.RetryConfig buildPartial() {
-      com.google.cloud.scheduler.v1beta1.RetryConfig result =
-          new com.google.cloud.scheduler.v1beta1.RetryConfig(this);
+      com.google.cloud.scheduler.v1beta1.RetryConfig result = new com.google.cloud.scheduler.v1beta1.RetryConfig(this);
       result.retryCount_ = retryCount_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -727,39 +667,38 @@ public com.google.cloud.scheduler.v1beta1.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.RetryConfig) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.RetryConfig) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.RetryConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -812,10 +751,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int retryCount_;
+    private int retryCount_ ;
     /**
-     *
-     *
      * 
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -832,7 +769,6 @@ public Builder mergeFrom(
      * 
* * int32 retry_count = 1; - * * @return The retryCount. */ @java.lang.Override @@ -840,8 +776,6 @@ public int getRetryCount() { return retryCount_; } /** - * - * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -858,19 +792,16 @@ public int getRetryCount() {
      * 
* * int32 retry_count = 1; - * * @param value The retryCount to set. * @return This builder for chaining. */ public Builder setRetryCount(int value) { - + retryCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -887,11 +818,10 @@ public Builder setRetryCount(int value) {
      * 
* * int32 retry_count = 1; - * * @return This builder for chaining. */ public Builder clearRetryCount() { - + retryCount_ = 0; onChanged(); return this; @@ -899,13 +829,8 @@ public Builder clearRetryCount() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxRetryDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; /** - * - * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -916,15 +841,12 @@ public Builder clearRetryCount() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** - * - * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -935,21 +857,16 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxRetryDuration_; + return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** - * - * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -975,8 +892,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -988,7 +903,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -999,8 +915,6 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1016,9 +930,7 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -1030,8 +942,6 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1055,8 +965,6 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1069,13 +977,11 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-
+      
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1091,14 +997,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxRetryDuration_;
+        return maxRetryDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1111,17 +1014,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(), getParentForChildren(), isClean());
+        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(),
+                getParentForChildren(),
+                isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1129,13 +1029,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        minBackoffDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffDurationBuilder_;
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1143,15 +1038,12 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return Whether the minBackoffDuration field is set. */ public boolean hasMinBackoffDuration() { return minBackoffDurationBuilder_ != null || minBackoffDuration_ != null; } /** - * - * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1159,21 +1051,16 @@ public boolean hasMinBackoffDuration() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return The minBackoffDuration. */ public com.google.protobuf.Duration getMinBackoffDuration() { if (minBackoffDurationBuilder_ == null) { - return minBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : minBackoffDuration_; + return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; } else { return minBackoffDurationBuilder_.getMessage(); } } /** - * - * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1196,8 +1083,6 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1206,7 +1091,8 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
-    public Builder setMinBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoffDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffDurationBuilder_ == null) {
         minBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1217,8 +1103,6 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1231,9 +1115,7 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       if (minBackoffDurationBuilder_ == null) {
         if (minBackoffDuration_ != null) {
           minBackoffDuration_ =
-              com.google.protobuf.Duration.newBuilder(minBackoffDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(minBackoffDuration_).mergeFrom(value).buildPartial();
         } else {
           minBackoffDuration_ = value;
         }
@@ -1245,8 +1127,6 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1267,8 +1147,6 @@ public Builder clearMinBackoffDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1278,13 +1156,11 @@ public Builder clearMinBackoffDuration() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffDurationBuilder() {
-
+      
       onChanged();
       return getMinBackoffDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1297,14 +1173,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
       if (minBackoffDurationBuilder_ != null) {
         return minBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoffDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : minBackoffDuration_;
+        return minBackoffDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1314,17 +1187,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMinBackoffDurationFieldBuilder() {
       if (minBackoffDurationBuilder_ == null) {
-        minBackoffDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMinBackoffDuration(), getParentForChildren(), isClean());
+        minBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMinBackoffDuration(),
+                getParentForChildren(),
+                isClean());
         minBackoffDuration_ = null;
       }
       return minBackoffDurationBuilder_;
@@ -1332,13 +1202,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        maxBackoffDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffDurationBuilder_;
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1346,15 +1211,12 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return Whether the maxBackoffDuration field is set. */ public boolean hasMaxBackoffDuration() { return maxBackoffDurationBuilder_ != null || maxBackoffDuration_ != null; } /** - * - * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1362,21 +1224,16 @@ public boolean hasMaxBackoffDuration() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return The maxBackoffDuration. */ public com.google.protobuf.Duration getMaxBackoffDuration() { if (maxBackoffDurationBuilder_ == null) { - return maxBackoffDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : maxBackoffDuration_; + return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; } else { return maxBackoffDurationBuilder_.getMessage(); } } /** - * - * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1399,8 +1256,6 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1409,7 +1264,8 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
-    public Builder setMaxBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoffDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffDurationBuilder_ == null) {
         maxBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1420,8 +1276,6 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1434,9 +1288,7 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       if (maxBackoffDurationBuilder_ == null) {
         if (maxBackoffDuration_ != null) {
           maxBackoffDuration_ =
-              com.google.protobuf.Duration.newBuilder(maxBackoffDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(maxBackoffDuration_).mergeFrom(value).buildPartial();
         } else {
           maxBackoffDuration_ = value;
         }
@@ -1448,8 +1300,6 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1470,8 +1320,6 @@ public Builder clearMaxBackoffDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1481,13 +1329,11 @@ public Builder clearMaxBackoffDuration() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffDurationBuilder() {
-
+      
       onChanged();
       return getMaxBackoffDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1500,14 +1346,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
       if (maxBackoffDurationBuilder_ != null) {
         return maxBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoffDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : maxBackoffDuration_;
+        return maxBackoffDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1517,26 +1360,21 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxBackoffDurationFieldBuilder() {
       if (maxBackoffDurationBuilder_ == null) {
-        maxBackoffDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoffDuration(), getParentForChildren(), isClean());
+        maxBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoffDuration(),
+                getParentForChildren(),
+                isClean());
         maxBackoffDuration_ = null;
       }
       return maxBackoffDurationBuilder_;
     }
 
-    private int maxDoublings_;
+    private int maxDoublings_ ;
     /**
-     *
-     *
      * 
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1557,7 +1395,6 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ @java.lang.Override @@ -1565,8 +1402,6 @@ public int getMaxDoublings() { return maxDoublings_; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1587,19 +1422,16 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; - * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** - * - * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1620,18 +1452,17 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; - * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1641,12 +1472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.RetryConfig) private static final com.google.cloud.scheduler.v1beta1.RetryConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.RetryConfig(); } @@ -1655,16 +1486,16 @@ public static com.google.cloud.scheduler.v1beta1.RetryConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1679,4 +1510,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java similarity index 88% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java index 7aa8a7a5..331a7d61 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/job.proto package com.google.cloud.scheduler.v1beta1; -public interface RetryConfigOrBuilder - extends +public interface RetryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.RetryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -42,14 +24,11 @@ public interface RetryConfigOrBuilder
    * 
* * int32 retry_count = 1; - * * @return The retryCount. */ int getRetryCount(); /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -60,13 +39,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -77,13 +53,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_retry_duration = 2; - * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** - * - * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -98,8 +71,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -107,13 +78,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return Whether the minBackoffDuration field is set. */ boolean hasMinBackoffDuration(); /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -121,13 +89,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; - * * @return The minBackoffDuration. */ com.google.protobuf.Duration getMinBackoffDuration(); /** - * - * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -139,8 +104,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -148,13 +111,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return Whether the maxBackoffDuration field is set. */ boolean hasMaxBackoffDuration(); /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -162,13 +122,10 @@ public interface RetryConfigOrBuilder
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; - * * @return The maxBackoffDuration. */ com.google.protobuf.Duration getMaxBackoffDuration(); /** - * - * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -180,8 +137,6 @@ public interface RetryConfigOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -202,7 +157,6 @@ public interface RetryConfigOrBuilder
    * 
* * int32 max_doublings = 5; - * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java similarity index 65% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java index dfc3b8c2..4a97aa54 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Request message for forcing a job to run now using
  * [RunJob][google.cloud.scheduler.v1beta1.CloudScheduler.RunJob].
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.RunJobRequest}
  */
-public final class RunJobRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RunJobRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.RunJobRequest)
     RunJobRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunJobRequest.newBuilder() to construct.
   private RunJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private RunJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private RunJobRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,42 +74,35 @@ private RunJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto
-        .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.RunJobRequest.class,
-            com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1beta1.RunJobRequest.class, com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,32 +111,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -170,7 +143,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.RunJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.RunJobRequest other = - (com.google.cloud.scheduler.v1beta1.RunJobRequest) obj; + com.google.cloud.scheduler.v1beta1.RunJobRequest other = (com.google.cloud.scheduler.v1beta1.RunJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,104 +206,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.RunJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for forcing a job to run now using
    * [RunJob][google.cloud.scheduler.v1beta1.CloudScheduler.RunJob].
@@ -338,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.RunJobRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.RunJobRequest)
       com.google.cloud.scheduler.v1beta1.RunJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.RunJobRequest.class,
-              com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1beta1.RunJobRequest.class, com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.RunJobRequest.newBuilder()
@@ -362,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto
-          .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -401,8 +366,7 @@ public com.google.cloud.scheduler.v1beta1.RunJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.RunJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1beta1.RunJobRequest result =
-          new com.google.cloud.scheduler.v1beta1.RunJobRequest(this);
+      com.google.cloud.scheduler.v1beta1.RunJobRequest result = new com.google.cloud.scheduler.v1beta1.RunJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -412,39 +376,38 @@ public com.google.cloud.scheduler.v1beta1.RunJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.RunJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.RunJobRequest) other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.RunJobRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -452,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.RunJobRequest other) {
-      if (other == com.google.cloud.scheduler.v1beta1.RunJobRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.scheduler.v1beta1.RunJobRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -489,23 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +472,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +494,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.RunJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.RunJobRequest) private static final com.google.cloud.scheduler.v1beta1.RunJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.RunJobRequest(); } @@ -633,16 +575,16 @@ public static com.google.cloud.scheduler.v1beta1.RunJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.RunJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java new file mode 100644 index 00000000..a90e11bc --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface RunJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.RunJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java new file mode 100644 index 00000000..49ab14b8 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java @@ -0,0 +1,226 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public final class SchedulerProto { + private SchedulerProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/scheduler/v1beta1/cloudsc" + + "heduler.proto\022\036google.cloud.scheduler.v1" + + "beta1\032\034google/api/annotations.proto\032\027goo" + + "gle/api/client.proto\032\037google/api/field_b" + + "ehavior.proto\032\031google/api/resource.proto" + + "\032(google/cloud/scheduler/v1beta1/job.pro" + + "to\032\033google/protobuf/empty.proto\032 google/" + + "protobuf/field_mask.proto\"s\n\017ListJobsReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!cloudsched" + + "uler.googleapis.com/Job\022\021\n\tpage_size\030\005 \001" + + "(\005\022\022\n\npage_token\030\006 \001(\t\"^\n\020ListJobsRespon" + + "se\0221\n\004jobs\030\001 \003(\0132#.google.cloud.schedule" + + "r.v1beta1.Job\022\027\n\017next_page_token\030\002 \001(\t\"H" + + "\n\rGetJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!c" + + "loudscheduler.googleapis.com/Job\"\204\001\n\020Cre" + + "ateJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!c" + + "loudscheduler.googleapis.com/Job\0225\n\003job\030" + + "\002 \001(\0132#.google.cloud.scheduler.v1beta1.J" + + "obB\003\340A\002\"z\n\020UpdateJobRequest\0225\n\003job\030\001 \001(\013" + + "2#.google.cloud.scheduler.v1beta1.JobB\003\340" + + "A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMask\"K\n\020DeleteJobRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapis" + + ".com/Job\"J\n\017PauseJobRequest\0227\n\004name\030\001 \001(" + + "\tB)\340A\002\372A#\n!cloudscheduler.googleapis.com" + + "/Job\"K\n\020ResumeJobRequest\0227\n\004name\030\001 \001(\tB)" + + "\340A\002\372A#\n!cloudscheduler.googleapis.com/Jo" + + "b\"H\n\rRunJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + + "\n!cloudscheduler.googleapis.com/Job2\246\013\n\016" + + "CloudScheduler\022\255\001\n\010ListJobs\022/.google.clo" + + "ud.scheduler.v1beta1.ListJobsRequest\0320.g" + + "oogle.cloud.scheduler.v1beta1.ListJobsRe" + + "sponse\">\202\323\344\223\002/\022-/v1beta1/{parent=project" + + "s/*/locations/*}/jobs\332A\006parent\022\232\001\n\006GetJo" + + "b\022-.google.cloud.scheduler.v1beta1.GetJo" + + "bRequest\032#.google.cloud.scheduler.v1beta" + + "1.Job\"<\202\323\344\223\002/\022-/v1beta1/{name=projects/*" + + "/locations/*/jobs/*}\332A\004name\022\253\001\n\tCreateJo" + + "b\0220.google.cloud.scheduler.v1beta1.Creat" + + "eJobRequest\032#.google.cloud.scheduler.v1b" + + "eta1.Job\"G\202\323\344\223\0024\"-/v1beta1/{parent=proje" + + "cts/*/locations/*}/jobs:\003job\332A\nparent,jo" + + "b\022\264\001\n\tUpdateJob\0220.google.cloud.scheduler" + + ".v1beta1.UpdateJobRequest\032#.google.cloud" + + ".scheduler.v1beta1.Job\"P\202\323\344\223\002821/v1beta1" + + "/{job.name=projects/*/locations/*/jobs/*" + + "}:\003job\332A\017job,update_mask\022\223\001\n\tDeleteJob\0220" + + ".google.cloud.scheduler.v1beta1.DeleteJo" + + "bRequest\032\026.google.protobuf.Empty\"<\202\323\344\223\002/" + + "*-/v1beta1/{name=projects/*/locations/*/" + + "jobs/*}\332A\004name\022\247\001\n\010PauseJob\022/.google.clo" + + "ud.scheduler.v1beta1.PauseJobRequest\032#.g" + + "oogle.cloud.scheduler.v1beta1.Job\"E\202\323\344\223\002" + + "8\"3/v1beta1/{name=projects/*/locations/*" + + "/jobs/*}:pause:\001*\332A\004name\022\252\001\n\tResumeJob\0220" + + ".google.cloud.scheduler.v1beta1.ResumeJo" + + "bRequest\032#.google.cloud.scheduler.v1beta" + + "1.Job\"F\202\323\344\223\0029\"4/v1beta1/{name=projects/*" + + "/locations/*/jobs/*}:resume:\001*\332A\004name\022\241\001" + + "\n\006RunJob\022-.google.cloud.scheduler.v1beta" + + "1.RunJobRequest\032#.google.cloud.scheduler" + + ".v1beta1.Job\"C\202\323\344\223\0026\"1/v1beta1/{name=pro" + + "jects/*/locations/*/jobs/*}:run:\001*\332A\004nam" + + "e\032Q\312A\035cloudscheduler.googleapis.com\322A.ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "formB\213\001\n\"com.google.cloud.scheduler.v1be" + + "ta1B\016SchedulerProtoP\001ZGgoogle.golang.org" + + "/genproto/googleapis/cloud/scheduler/v1b" + + "eta1;scheduler\242\002\tSCHEDULERb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor, + new java.lang.String[] { "Jobs", "NextPageToken", }); + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor, + new java.lang.String[] { "Parent", "Job", }); + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor, + new java.lang.String[] { "Job", "UpdateMask", }); + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java new file mode 100644 index 00000000..31a4b176 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java @@ -0,0 +1,183 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/target.proto + +package com.google.cloud.scheduler.v1beta1; + +public final class TargetProto { + private TargetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/scheduler/v1beta1/target." + + "proto\022\036google.cloud.scheduler.v1beta1\032\031g" + + "oogle/api/resource.proto\032\034google/api/ann" + + "otations.proto\"\376\002\n\nHttpTarget\022\013\n\003uri\030\001 \001" + + "(\t\022?\n\013http_method\030\002 \001(\0162*.google.cloud.s" + + "cheduler.v1beta1.HttpMethod\022H\n\007headers\030\003" + + " \003(\01327.google.cloud.scheduler.v1beta1.Ht" + + "tpTarget.HeadersEntry\022\014\n\004body\030\004 \001(\014\022A\n\013o" + + "auth_token\030\005 \001(\0132*.google.cloud.schedule" + + "r.v1beta1.OAuthTokenH\000\022?\n\noidc_token\030\006 \001" + + "(\0132).google.cloud.scheduler.v1beta1.Oidc" + + "TokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"" + + "\313\002\n\023AppEngineHttpTarget\022?\n\013http_method\030\001" + + " \001(\0162*.google.cloud.scheduler.v1beta1.Ht" + + "tpMethod\022L\n\022app_engine_routing\030\002 \001(\01320.g" + + "oogle.cloud.scheduler.v1beta1.AppEngineR" + + "outing\022\024\n\014relative_uri\030\003 \001(\t\022Q\n\007headers\030" + + "\004 \003(\0132@.google.cloud.scheduler.v1beta1.A" + + "ppEngineHttpTarget.HeadersEntry\022\014\n\004body\030" + + "\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"\327\001\n\014PubsubTarget\0224\n\ntopic_" + + "name\030\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/T" + + "opic\022\014\n\004data\030\003 \001(\014\022P\n\nattributes\030\004 \003(\0132<" + + ".google.cloud.scheduler.v1beta1.PubsubTa" + + "rget.AttributesEntry\0321\n\017AttributesEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n" + + "\nOAuthToken\022\035\n\025service_account_email\030\001 \001" + + "(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025servic" + + "e_account_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*" + + "s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED" + + "\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004" + + "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\277\001\n" + + "\"com.google.cloud.scheduler.v1beta1B\013Tar" + + "getProtoP\001ZGgoogle.golang.org/genproto/g" + + "oogleapis/cloud/scheduler/v1beta1;schedu" + + "ler\352A@\n\033pubsub.googleapis.com/Topic\022!pro" + + "jects/{project}/topics/{topic}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor, + new java.lang.String[] { "Uri", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor, + new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor, + new java.lang.String[] { "TopicName", "Data", "Attributes", }); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor = + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor, + new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Scope", }); + internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor, + new java.lang.String[] { "ServiceAccountEmail", "Audience", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java similarity index 70% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java index c1aafd5f..23b1554a 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** - * - * *
  * Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.UpdateJobRequest} */ -public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateJobRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.UpdateJobRequest) UpdateJobRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateJobRequest() {} + private UpdateJobRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateJobRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = - input.readMessage( - com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); + } + job_ = input.readMessage(com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,42 +92,36 @@ private UpdateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, - com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.scheduler.v1beta1.Job job_; /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ @java.lang.Override @@ -156,17 +129,13 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ @java.lang.Override @@ -174,16 +143,13 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { @@ -193,14 +159,11 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -208,14 +171,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -223,8 +183,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -266,10 +224,12 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getJob()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,21 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.UpdateJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.UpdateJobRequest other = - (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) obj; + com.google.cloud.scheduler.v1beta1.UpdateJobRequest other = (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,126 +281,117 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.UpdateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.UpdateJobRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.UpdateJobRequest) com.google.cloud.scheduler.v1beta1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, - com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.UpdateJobRequest.newBuilder() @@ -447,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto - .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -496,8 +449,7 @@ public com.google.cloud.scheduler.v1beta1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.UpdateJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.UpdateJobRequest result = - new com.google.cloud.scheduler.v1beta1.UpdateJobRequest(this); + com.google.cloud.scheduler.v1beta1.UpdateJobRequest result = new com.google.cloud.scheduler.v1beta1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -516,39 +468,38 @@ public com.google.cloud.scheduler.v1beta1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.UpdateJobRequest) other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.UpdateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -556,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.UpdateJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.UpdateJobRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.scheduler.v1beta1.UpdateJobRequest.getDefaultInstance()) return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -583,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,39 +545,28 @@ public Builder mergeFrom( private com.google.cloud.scheduler.v1beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder> - jobBuilder_; + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ public com.google.cloud.scheduler.v1beta1.Job getJob() { @@ -639,16 +577,13 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { } } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { @@ -664,18 +599,16 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -686,24 +619,19 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForV return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -715,16 +643,13 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -738,65 +663,54 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder> + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, - com.google.cloud.scheduler.v1beta1.Job.Builder, - com.google.cloud.scheduler.v1beta1.JobOrBuilder>( - getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -804,47 +718,34 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -865,15 +766,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -884,8 +784,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -896,7 +794,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -908,8 +806,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -928,8 +824,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -937,13 +831,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -954,14 +846,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -969,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -996,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.UpdateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.UpdateJobRequest) private static final com.google.cloud.scheduler.v1beta1.UpdateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.UpdateJobRequest(); } @@ -1010,16 +896,16 @@ public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1034,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.UpdateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java similarity index 72% rename from proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java index f1df9659..ea129dab 100644 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java +++ b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java @@ -1,99 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface UpdateJobRequestOrBuilder - extends +public interface UpdateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.UpdateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The job. */ com.google.cloud.scheduler.v1beta1.Job getJob(); /** - * - * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder(); /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * A  mask used to specify which fields of the job are being updated.
    * 
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto similarity index 100% rename from proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto similarity index 100% rename from proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto similarity index 100% rename from proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto rename to owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..2d2f4bd0 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerSettings; +import com.google.cloud.scheduler.v1beta1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings cloudSchedulerSettings = + CloudSchedulerSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..57a5e157 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_create_setcredentialsprovider1_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings cloudSchedulerSettings = + CloudSchedulerSettings.newBuilder() + .setTransportChannelProvider( + CloudSchedulerSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..2d9d001d --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_create_setendpoint_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerSettings; +import com.google.cloud.scheduler.v1beta1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings cloudSchedulerSettings = + CloudSchedulerSettings.newBuilder().setEndpoint(myEndpoint).build(); + CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create(cloudSchedulerSettings); + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java new file mode 100644 index 00000000..6ff39df6 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_createjob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.CreateJobRequest; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class AsyncCreateJob { + + public static void main(String[] args) throws Exception { + asyncCreateJob(); + } + + public static void asyncCreateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + CreateJobRequest request = + CreateJobRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setJob(Job.newBuilder().build()) + .build(); + ApiFuture future = cloudSchedulerClient.createJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_createjob_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java new file mode 100644 index 00000000..de761e19 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_createjob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.CreateJobRequest; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class SyncCreateJob { + + public static void main(String[] args) throws Exception { + syncCreateJob(); + } + + public static void syncCreateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + CreateJobRequest request = + CreateJobRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setJob(Job.newBuilder().build()) + .build(); + Job response = cloudSchedulerClient.createJob(request); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_createjob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java new file mode 100644 index 00000000..dd28bfa0 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_createjob_locationnamejob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class SyncCreateJobLocationnameJob { + + public static void main(String[] args) throws Exception { + syncCreateJobLocationnameJob(); + } + + public static void syncCreateJobLocationnameJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Job job = Job.newBuilder().build(); + Job response = cloudSchedulerClient.createJob(parent, job); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_createjob_locationnamejob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java new file mode 100644 index 00000000..06e80608 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_createjob_stringjob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class SyncCreateJobStringJob { + + public static void main(String[] args) throws Exception { + syncCreateJobStringJob(); + } + + public static void syncCreateJobStringJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + Job job = Job.newBuilder().build(); + Job response = cloudSchedulerClient.createJob(parent, job); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_createjob_stringjob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java new file mode 100644 index 00000000..a524acfc --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.DeleteJobRequest; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.protobuf.Empty; + +public class AsyncDeleteJob { + + public static void main(String[] args) throws Exception { + asyncDeleteJob(); + } + + public static void asyncDeleteJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + DeleteJobRequest request = + DeleteJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.deleteJobCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_deletejob_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java new file mode 100644 index 00000000..a91bdb8e --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.DeleteJobRequest; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.protobuf.Empty; + +public class SyncDeleteJob { + + public static void main(String[] args) throws Exception { + syncDeleteJob(); + } + + public static void syncDeleteJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + DeleteJobRequest request = + DeleteJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + cloudSchedulerClient.deleteJob(request); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_deletejob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java new file mode 100644 index 00000000..ff89be60 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_jobname_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.protobuf.Empty; + +public class SyncDeleteJobJobname { + + public static void main(String[] args) throws Exception { + syncDeleteJobJobname(); + } + + public static void syncDeleteJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + cloudSchedulerClient.deleteJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_deletejob_jobname_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java new file mode 100644 index 00000000..b9cf779c --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_string_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.protobuf.Empty; + +public class SyncDeleteJobString { + + public static void main(String[] args) throws Exception { + syncDeleteJobString(); + } + + public static void syncDeleteJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + cloudSchedulerClient.deleteJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_deletejob_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java new file mode 100644 index 00000000..9444ca00 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_getjob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.GetJobRequest; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class AsyncGetJob { + + public static void main(String[] args) throws Exception { + asyncGetJob(); + } + + public static void asyncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + GetJobRequest request = + GetJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.getJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_getjob_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java new file mode 100644 index 00000000..036ffd35 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_getjob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.GetJobRequest; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncGetJob { + + public static void main(String[] args) throws Exception { + syncGetJob(); + } + + public static void syncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + GetJobRequest request = + GetJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.getJob(request); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_getjob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java new file mode 100644 index 00000000..0769975f --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_getjob_jobname_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncGetJobJobname { + + public static void main(String[] args) throws Exception { + syncGetJobJobname(); + } + + public static void syncGetJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.getJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_getjob_jobname_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java new file mode 100644 index 00000000..67b2e02a --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_getjob_string_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncGetJobString { + + public static void main(String[] args) throws Exception { + syncGetJobString(); + } + + public static void syncGetJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.getJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_getjob_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java new file mode 100644 index 00000000..70baf341 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java @@ -0,0 +1,50 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_listjobs_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.ListJobsRequest; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class AsyncListJobs { + + public static void main(String[] args) throws Exception { + asyncListJobs(); + } + + public static void asyncListJobs() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ListJobsRequest request = + ListJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = cloudSchedulerClient.listJobsPagedCallable().futureCall(request); + // Do something. + for (Job element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_listjobs_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java new file mode 100644 index 00000000..cdb253e0 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java @@ -0,0 +1,58 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_listjobs_paged_async] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.ListJobsRequest; +import com.google.cloud.scheduler.v1beta1.ListJobsResponse; +import com.google.cloud.scheduler.v1beta1.LocationName; +import com.google.common.base.Strings; + +public class AsyncListJobsPaged { + + public static void main(String[] args) throws Exception { + asyncListJobsPaged(); + } + + public static void asyncListJobsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ListJobsRequest request = + ListJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request); + for (Job element : response.getJobsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_listjobs_paged_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java new file mode 100644 index 00000000..7869a56a --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_listjobs_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.ListJobsRequest; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class SyncListJobs { + + public static void main(String[] args) throws Exception { + syncListJobs(); + } + + public static void syncListJobs() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ListJobsRequest request = + ListJobsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Job element : cloudSchedulerClient.listJobs(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_listjobs_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java new file mode 100644 index 00000000..585ba77c --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_listjobs_locationname_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class SyncListJobsLocationname { + + public static void main(String[] args) throws Exception { + syncListJobsLocationname(); + } + + public static void syncListJobsLocationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (Job element : cloudSchedulerClient.listJobs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_listjobs_locationname_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java new file mode 100644 index 00000000..0de2f5f0 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_listjobs_string_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.LocationName; + +public class SyncListJobsString { + + public static void main(String[] args) throws Exception { + syncListJobsString(); + } + + public static void syncListJobsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (Job element : cloudSchedulerClient.listJobs(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_listjobs_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java new file mode 100644 index 00000000..f9ef47f0 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_pausejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.cloud.scheduler.v1beta1.PauseJobRequest; + +public class AsyncPauseJob { + + public static void main(String[] args) throws Exception { + asyncPauseJob(); + } + + public static void asyncPauseJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + PauseJobRequest request = + PauseJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.pauseJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_pausejob_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java new file mode 100644 index 00000000..47d90b01 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_pausejob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.cloud.scheduler.v1beta1.PauseJobRequest; + +public class SyncPauseJob { + + public static void main(String[] args) throws Exception { + syncPauseJob(); + } + + public static void syncPauseJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + PauseJobRequest request = + PauseJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.pauseJob(request); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_pausejob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java new file mode 100644 index 00000000..23c41e7e --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_pausejob_jobname_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncPauseJobJobname { + + public static void main(String[] args) throws Exception { + syncPauseJobJobname(); + } + + public static void syncPauseJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.pauseJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_pausejob_jobname_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java new file mode 100644 index 00000000..57e4896f --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_pausejob_string_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncPauseJobString { + + public static void main(String[] args) throws Exception { + syncPauseJobString(); + } + + public static void syncPauseJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.pauseJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_pausejob_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java new file mode 100644 index 00000000..2665117d --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_resumejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.cloud.scheduler.v1beta1.ResumeJobRequest; + +public class AsyncResumeJob { + + public static void main(String[] args) throws Exception { + asyncResumeJob(); + } + + public static void asyncResumeJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ResumeJobRequest request = + ResumeJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.resumeJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_resumejob_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java new file mode 100644 index 00000000..e9bcf78d --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_resumejob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.cloud.scheduler.v1beta1.ResumeJobRequest; + +public class SyncResumeJob { + + public static void main(String[] args) throws Exception { + syncResumeJob(); + } + + public static void syncResumeJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + ResumeJobRequest request = + ResumeJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.resumeJob(request); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_resumejob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java new file mode 100644 index 00000000..5f047635 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_resumejob_jobname_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncResumeJobJobname { + + public static void main(String[] args) throws Exception { + syncResumeJobJobname(); + } + + public static void syncResumeJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.resumeJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_resumejob_jobname_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java new file mode 100644 index 00000000..cb009861 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_resumejob_string_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncResumeJobString { + + public static void main(String[] args) throws Exception { + syncResumeJobString(); + } + + public static void syncResumeJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.resumeJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_resumejob_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java new file mode 100644 index 00000000..19ce12c6 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_runjob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.cloud.scheduler.v1beta1.RunJobRequest; + +public class AsyncRunJob { + + public static void main(String[] args) throws Exception { + asyncRunJob(); + } + + public static void asyncRunJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + RunJobRequest request = + RunJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + ApiFuture future = cloudSchedulerClient.runJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_runjob_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java new file mode 100644 index 00000000..3a9959fe --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_runjob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; +import com.google.cloud.scheduler.v1beta1.RunJobRequest; + +public class SyncRunJob { + + public static void main(String[] args) throws Exception { + syncRunJob(); + } + + public static void syncRunJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + RunJobRequest request = + RunJobRequest.newBuilder() + .setName(JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString()) + .build(); + Job response = cloudSchedulerClient.runJob(request); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_runjob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java new file mode 100644 index 00000000..bcaed621 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_runjob_jobname_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncRunJobJobname { + + public static void main(String[] args) throws Exception { + syncRunJobJobname(); + } + + public static void syncRunJobJobname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + JobName name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]"); + Job response = cloudSchedulerClient.runJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_runjob_jobname_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java new file mode 100644 index 00000000..fbbe6631 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_runjob_string_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.JobName; + +public class SyncRunJobString { + + public static void main(String[] args) throws Exception { + syncRunJobString(); + } + + public static void syncRunJobString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + String name = JobName.of("[PROJECT]", "[LOCATION]", "[JOB]").toString(); + Job response = cloudSchedulerClient.runJob(name); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_runjob_string_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java new file mode 100644 index 00000000..6f9c4c14 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_updatejob_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.UpdateJobRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateJob { + + public static void main(String[] args) throws Exception { + asyncUpdateJob(); + } + + public static void asyncUpdateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + UpdateJobRequest request = + UpdateJobRequest.newBuilder() + .setJob(Job.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + ApiFuture future = cloudSchedulerClient.updateJobCallable().futureCall(request); + // Do something. + Job response = future.get(); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_updatejob_async] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java new file mode 100644 index 00000000..fd3aeefd --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_updatejob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.cloud.scheduler.v1beta1.UpdateJobRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateJob { + + public static void main(String[] args) throws Exception { + syncUpdateJob(); + } + + public static void syncUpdateJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + UpdateJobRequest request = + UpdateJobRequest.newBuilder() + .setJob(Job.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + Job response = cloudSchedulerClient.updateJob(request); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_updatejob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java new file mode 100644 index 00000000..f86e5594 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerclient_updatejob_jobfieldmask_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; +import com.google.cloud.scheduler.v1beta1.Job; +import com.google.protobuf.FieldMask; + +public class SyncUpdateJobJobFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateJobJobFieldmask(); + } + + public static void syncUpdateJobJobFieldmask() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient.create()) { + Job job = Job.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + Job response = cloudSchedulerClient.updateJob(job, updateMask); + } + } +} +// [END scheduler_v1beta1_generated_cloudschedulerclient_updatejob_jobfieldmask_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java new file mode 100644 index 00000000..f3efe758 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.samples; + +// [START scheduler_v1beta1_generated_cloudschedulersettings_getjob_sync] +import com.google.cloud.scheduler.v1beta1.CloudSchedulerSettings; +import java.time.Duration; + +public class SyncGetJob { + + public static void main(String[] args) throws Exception { + syncGetJob(); + } + + public static void syncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerSettings.Builder cloudSchedulerSettingsBuilder = + CloudSchedulerSettings.newBuilder(); + cloudSchedulerSettingsBuilder + .getJobSettings() + .setRetrySettings( + cloudSchedulerSettingsBuilder + .getJobSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + CloudSchedulerSettings cloudSchedulerSettings = cloudSchedulerSettingsBuilder.build(); + } +} +// [END scheduler_v1beta1_generated_cloudschedulersettings_getjob_sync] diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java new file mode 100644 index 00000000..7303e1a6 --- /dev/null +++ b/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.scheduler.v1beta1.stub.samples; + +// [START scheduler_v1beta1_generated_cloudschedulerstubsettings_getjob_sync] +import com.google.cloud.scheduler.v1beta1.stub.CloudSchedulerStubSettings; +import java.time.Duration; + +public class SyncGetJob { + + public static void main(String[] args) throws Exception { + syncGetJob(); + } + + public static void syncGetJob() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + CloudSchedulerStubSettings.Builder cloudSchedulerSettingsBuilder = + CloudSchedulerStubSettings.newBuilder(); + cloudSchedulerSettingsBuilder + .getJobSettings() + .setRetrySettings( + cloudSchedulerSettingsBuilder + .getJobSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + CloudSchedulerStubSettings cloudSchedulerSettings = cloudSchedulerSettingsBuilder.build(); + } +} +// [END scheduler_v1beta1_generated_cloudschedulerstubsettings_getjob_sync] diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java deleted file mode 100644 index bf15206b..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface DeleteJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java deleted file mode 100644 index d84a0192..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface GetJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java deleted file mode 100644 index 8fff5b05..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java +++ /dev/null @@ -1,144 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/job.proto - -package com.google.cloud.scheduler.v1; - -public final class JobProto { - private JobProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_Job_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/scheduler/v1/job.proto\022\031g" - + "oogle.cloud.scheduler.v1\032\031google/api/res" - + "ource.proto\032&google/cloud/scheduler/v1/t" - + "arget.proto\032\036google/protobuf/duration.pr" - + "oto\032\037google/protobuf/timestamp.proto\032\027go" - + "ogle/rpc/status.proto\032\034google/api/annota" - + "tions.proto\"\313\006\n\003Job\022\014\n\004name\030\001 \001(\t\022\023\n\013des" - + "cription\030\002 \001(\t\022@\n\rpubsub_target\030\004 \001(\0132\'." - + "google.cloud.scheduler.v1.PubsubTargetH\000" - + "\022P\n\026app_engine_http_target\030\005 \001(\0132..googl" - + "e.cloud.scheduler.v1.AppEngineHttpTarget" - + "H\000\022<\n\013http_target\030\006 \001(\0132%.google.cloud.s" - + "cheduler.v1.HttpTargetH\000\022\020\n\010schedule\030\024 \001" - + "(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_update_tim" - + "e\030\t \001(\0132\032.google.protobuf.Timestamp\0223\n\005s" - + "tate\030\n \001(\0162$.google.cloud.scheduler.v1.J" - + "ob.State\022\"\n\006status\030\013 \001(\0132\022.google.rpc.St" - + "atus\0221\n\rschedule_time\030\021 \001(\0132\032.google.pro" - + "tobuf.Timestamp\0225\n\021last_attempt_time\030\022 \001" - + "(\0132\032.google.protobuf.Timestamp\022<\n\014retry_" - + "config\030\023 \001(\0132&.google.cloud.scheduler.v1" - + ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" - + ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" - + "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" - + "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" - + "\n!cloudscheduler.googleapis.com/Job\0222pro" - + "jects/{project}/locations/{location}/job" - + "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" - + "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" - + "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" - + "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" - + "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" - + "oogle.protobuf.Duration\022\025\n\rmax_doublings" - + "\030\005 \001(\005Bo\n\035com.google.cloud.scheduler.v1B" - + "\010JobProtoP\001ZBgoogle.golang.org/genproto/" - + "googleapis/cloud/scheduler/v1;schedulerb" - + "\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_Job_descriptor, - new java.lang.String[] { - "Name", - "Description", - "PubsubTarget", - "AppEngineHttpTarget", - "HttpTarget", - "Schedule", - "TimeZone", - "UserUpdateTime", - "State", - "Status", - "ScheduleTime", - "LastAttemptTime", - "RetryConfig", - "AttemptDeadline", - "Target", - }); - internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor, - new java.lang.String[] { - "RetryCount", - "MaxRetryDuration", - "MinBackoffDuration", - "MaxBackoffDuration", - "MaxDoublings", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java deleted file mode 100644 index 341b3db3..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface PauseJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.PauseJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java deleted file mode 100644 index e3ef5414..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface ResumeJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ResumeJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java deleted file mode 100644 index 83083abf..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface RunJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.RunJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java deleted file mode 100644 index bfc2b1cf..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public final class SchedulerProto { - private SchedulerProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/scheduler/v1/cloudschedul" - + "er.proto\022\031google.cloud.scheduler.v1\032\034goo" - + "gle/api/annotations.proto\032\027google/api/cl" - + "ient.proto\032\037google/api/field_behavior.pr" - + "oto\032\031google/api/resource.proto\032#google/c" - + "loud/scheduler/v1/job.proto\032\033google/prot" - + "obuf/empty.proto\032 google/protobuf/field_" - + "mask.proto\"s\n\017ListJobsRequest\0229\n\006parent\030" - + "\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googleapis" - + ".com/Job\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_toke" - + "n\030\006 \001(\t\"Y\n\020ListJobsResponse\022,\n\004jobs\030\001 \003(" - + "\0132\036.google.cloud.scheduler.v1.Job\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"H\n\rGetJobRequest\0227\n\004n" - + "ame\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.google" - + "apis.com/Job\"\177\n\020CreateJobRequest\0229\n\006pare" - + "nt\030\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googlea" - + "pis.com/Job\0220\n\003job\030\002 \001(\0132\036.google.cloud." - + "scheduler.v1.JobB\003\340A\002\"z\n\020UpdateJobReques" - + "t\0220\n\003job\030\001 \001(\0132\036.google.cloud.scheduler." - + "v1.JobB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl" - + "e.protobuf.FieldMaskB\003\340A\002\"K\n\020DeleteJobRe" - + "quest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudschedu" - + "ler.googleapis.com/Job\"J\n\017PauseJobReques" - + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler." - + "googleapis.com/Job\"K\n\020ResumeJobRequest\0227" - + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.goo" - + "gleapis.com/Job\"H\n\rRunJobRequest\0227\n\004name" - + "\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapi" - + "s.com/Job2\263\n\n\016CloudScheduler\022\236\001\n\010ListJob" - + "s\022*.google.cloud.scheduler.v1.ListJobsRe" - + "quest\032+.google.cloud.scheduler.v1.ListJo" - + "bsResponse\"9\202\323\344\223\002*\022(/v1/{parent=projects" - + "/*/locations/*}/jobs\332A\006parent\022\213\001\n\006GetJob" - + "\022(.google.cloud.scheduler.v1.GetJobReque" - + "st\032\036.google.cloud.scheduler.v1.Job\"7\202\323\344\223" - + "\002*\022(/v1/{name=projects/*/locations/*/job" - + "s/*}\332A\004name\022\234\001\n\tCreateJob\022+.google.cloud" - + ".scheduler.v1.CreateJobRequest\032\036.google." - + "cloud.scheduler.v1.Job\"B\202\323\344\223\002/\"(/v1/{par" - + "ent=projects/*/locations/*}/jobs:\003job\332A\n" - + "parent,job\022\245\001\n\tUpdateJob\022+.google.cloud." - + "scheduler.v1.UpdateJobRequest\032\036.google.c" - + "loud.scheduler.v1.Job\"K\202\323\344\223\00232,/v1/{job." - + "name=projects/*/locations/*/jobs/*}:\003job" - + "\332A\017job,update_mask\022\211\001\n\tDeleteJob\022+.googl" - + "e.cloud.scheduler.v1.DeleteJobRequest\032\026." - + "google.protobuf.Empty\"7\202\323\344\223\002**(/v1/{name" - + "=projects/*/locations/*/jobs/*}\332A\004name\022\230" - + "\001\n\010PauseJob\022*.google.cloud.scheduler.v1." - + "PauseJobRequest\032\036.google.cloud.scheduler" - + ".v1.Job\"@\202\323\344\223\0023\"./v1/{name=projects/*/lo" - + "cations/*/jobs/*}:pause:\001*\332A\004name\022\233\001\n\tRe" - + "sumeJob\022+.google.cloud.scheduler.v1.Resu" - + "meJobRequest\032\036.google.cloud.scheduler.v1" - + ".Job\"A\202\323\344\223\0024\"//v1/{name=projects/*/locat" - + "ions/*/jobs/*}:resume:\001*\332A\004name\022\222\001\n\006RunJ" - + "ob\022(.google.cloud.scheduler.v1.RunJobReq" - + "uest\032\036.google.cloud.scheduler.v1.Job\">\202\323" - + "\344\223\0021\",/v1/{name=projects/*/locations/*/j" - + "obs/*}:run:\001*\332A\004name\032Q\312A\035cloudscheduler." - + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\201\001\n\035com.google.c" - + "loud.scheduler.v1B\016SchedulerProtoP\001ZBgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/scheduler/v1;scheduler\242\002\tSCHEDULERb\006pro" - + "to3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1.JobProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor, - new java.lang.String[] { - "Jobs", "NextPageToken", - }); - internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor, - new java.lang.String[] { - "Parent", "Job", - }); - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor, - new java.lang.String[] { - "Job", "UpdateMask", - }); - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1.JobProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java deleted file mode 100644 index 45c00301..00000000 --- a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/target.proto - -package com.google.cloud.scheduler.v1; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/scheduler/v1/target.proto" - + "\022\031google.cloud.scheduler.v1\032\031google/api/" - + "resource.proto\032\034google/api/annotations.p" - + "roto\"\352\002\n\nHttpTarget\022\013\n\003uri\030\001 \001(\t\022:\n\013http" - + "_method\030\002 \001(\0162%.google.cloud.scheduler.v" - + "1.HttpMethod\022C\n\007headers\030\003 \003(\01322.google.c" - + "loud.scheduler.v1.HttpTarget.HeadersEntr" - + "y\022\014\n\004body\030\004 \001(\014\022<\n\013oauth_token\030\005 \001(\0132%.g" - + "oogle.cloud.scheduler.v1.OAuthTokenH\000\022:\n" - + "\noidc_token\030\006 \001(\0132$.google.cloud.schedul" - + "er.v1.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizati" - + "on_header\"\274\002\n\023AppEngineHttpTarget\022:\n\013htt" - + "p_method\030\001 \001(\0162%.google.cloud.scheduler." - + "v1.HttpMethod\022G\n\022app_engine_routing\030\002 \001(" - + "\0132+.google.cloud.scheduler.v1.AppEngineR" - + "outing\022\024\n\014relative_uri\030\003 \001(\t\022L\n\007headers\030" - + "\004 \003(\0132;.google.cloud.scheduler.v1.AppEng" - + "ineHttpTarget.HeadersEntry\022\014\n\004body\030\005 \001(\014" - + "\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" - + " \001(\t:\0028\001\"\322\001\n\014PubsubTarget\0224\n\ntopic_name\030" - + "\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022" - + "\014\n\004data\030\003 \001(\014\022K\n\nattributes\030\004 \003(\01327.goog" - + "le.cloud.scheduler.v1.PubsubTarget.Attri" - + "butesEntry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRoutin" - + "g\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020\n\010i" - + "nstance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthToke" - + "n\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005scop" - + "e\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_account_" - + "email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttpMet" - + "hod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004POST" - + "\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE" - + "\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\265\001\n\035com.googl" - + "e.cloud.scheduler.v1B\013TargetProtoP\001ZBgoo" - + "gle.golang.org/genproto/googleapis/cloud" - + "/scheduler/v1;scheduler\352A@\n\033pubsub.googl" - + "eapis.com/Topic\022!projects/{project}/topi" - + "cs/{topic}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor, - new java.lang.String[] { - "Uri", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor, - new java.lang.String[] { - "TopicName", "Data", "Attributes", - }); - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor = - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_scheduler_v1_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java deleted file mode 100644 index 3874da59..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface DeleteJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java deleted file mode 100644 index bf37953f..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface GetJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java deleted file mode 100644 index 3272fc4b..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/job.proto - -package com.google.cloud.scheduler.v1beta1; - -public final class JobProto { - private JobProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_Job_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/scheduler/v1beta1/job.pro" - + "to\022\036google.cloud.scheduler.v1beta1\032\031goog" - + "le/api/resource.proto\032+google/cloud/sche" - + "duler/v1beta1/target.proto\032\036google/proto" - + "buf/duration.proto\032\037google/protobuf/time" - + "stamp.proto\032\027google/rpc/status.proto\032\034go" - + "ogle/api/annotations.proto\"\344\006\n\003Job\022\014\n\004na" - + "me\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022E\n\rpubsub_" - + "target\030\004 \001(\0132,.google.cloud.scheduler.v1" - + "beta1.PubsubTargetH\000\022U\n\026app_engine_http_" - + "target\030\005 \001(\01323.google.cloud.scheduler.v1" - + "beta1.AppEngineHttpTargetH\000\022A\n\013http_targ" - + "et\030\006 \001(\0132*.google.cloud.scheduler.v1beta" - + "1.HttpTargetH\000\022\020\n\010schedule\030\024 \001(\t\022\021\n\ttime" - + "_zone\030\025 \001(\t\0224\n\020user_update_time\030\t \001(\0132\032." - + "google.protobuf.Timestamp\0228\n\005state\030\n \001(\016" - + "2).google.cloud.scheduler.v1beta1.Job.St" - + "ate\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022" - + "1\n\rschedule_time\030\021 \001(\0132\032.google.protobuf" - + ".Timestamp\0225\n\021last_attempt_time\030\022 \001(\0132\032." - + "google.protobuf.Timestamp\022A\n\014retry_confi" - + "g\030\023 \001(\0132+.google.cloud.scheduler.v1beta1" - + ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" - + ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" - + "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" - + "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" - + "\n!cloudscheduler.googleapis.com/Job\0222pro" - + "jects/{project}/locations/{location}/job" - + "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" - + "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" - + "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" - + "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" - + "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" - + "oogle.protobuf.Duration\022\025\n\rmax_doublings" - + "\030\005 \001(\005By\n\"com.google.cloud.scheduler.v1b" - + "eta1B\010JobProtoP\001ZGgoogle.golang.org/genp" - + "roto/googleapis/cloud/scheduler/v1beta1;" - + "schedulerb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1beta1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_Job_descriptor, - new java.lang.String[] { - "Name", - "Description", - "PubsubTarget", - "AppEngineHttpTarget", - "HttpTarget", - "Schedule", - "TimeZone", - "UserUpdateTime", - "State", - "Status", - "ScheduleTime", - "LastAttemptTime", - "RetryConfig", - "AttemptDeadline", - "Target", - }); - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor, - new java.lang.String[] { - "RetryCount", - "MaxRetryDuration", - "MinBackoffDuration", - "MaxBackoffDuration", - "MaxDoublings", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java deleted file mode 100644 index b8a7b049..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface PauseJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.PauseJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java deleted file mode 100644 index 5a6bd91c..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface ResumeJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ResumeJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java deleted file mode 100644 index 2a0b110d..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface RunJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.RunJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java deleted file mode 100644 index 5dfadd05..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public final class SchedulerProto { - private SchedulerProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/scheduler/v1beta1/cloudsc" - + "heduler.proto\022\036google.cloud.scheduler.v1" - + "beta1\032\034google/api/annotations.proto\032\027goo" - + "gle/api/client.proto\032\037google/api/field_b" - + "ehavior.proto\032\031google/api/resource.proto" - + "\032(google/cloud/scheduler/v1beta1/job.pro" - + "to\032\033google/protobuf/empty.proto\032 google/" - + "protobuf/field_mask.proto\"s\n\017ListJobsReq" - + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!cloudsched" - + "uler.googleapis.com/Job\022\021\n\tpage_size\030\005 \001" - + "(\005\022\022\n\npage_token\030\006 \001(\t\"^\n\020ListJobsRespon" - + "se\0221\n\004jobs\030\001 \003(\0132#.google.cloud.schedule" - + "r.v1beta1.Job\022\027\n\017next_page_token\030\002 \001(\t\"H" - + "\n\rGetJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!c" - + "loudscheduler.googleapis.com/Job\"\204\001\n\020Cre" - + "ateJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!c" - + "loudscheduler.googleapis.com/Job\0225\n\003job\030" - + "\002 \001(\0132#.google.cloud.scheduler.v1beta1.J" - + "obB\003\340A\002\"z\n\020UpdateJobRequest\0225\n\003job\030\001 \001(\013" - + "2#.google.cloud.scheduler.v1beta1.JobB\003\340" - + "A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobu" - + "f.FieldMask\"K\n\020DeleteJobRequest\0227\n\004name\030" - + "\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapis" - + ".com/Job\"J\n\017PauseJobRequest\0227\n\004name\030\001 \001(" - + "\tB)\340A\002\372A#\n!cloudscheduler.googleapis.com" - + "/Job\"K\n\020ResumeJobRequest\0227\n\004name\030\001 \001(\tB)" - + "\340A\002\372A#\n!cloudscheduler.googleapis.com/Jo" - + "b\"H\n\rRunJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" - + "\n!cloudscheduler.googleapis.com/Job2\246\013\n\016" - + "CloudScheduler\022\255\001\n\010ListJobs\022/.google.clo" - + "ud.scheduler.v1beta1.ListJobsRequest\0320.g" - + "oogle.cloud.scheduler.v1beta1.ListJobsRe" - + "sponse\">\202\323\344\223\002/\022-/v1beta1/{parent=project" - + "s/*/locations/*}/jobs\332A\006parent\022\232\001\n\006GetJo" - + "b\022-.google.cloud.scheduler.v1beta1.GetJo" - + "bRequest\032#.google.cloud.scheduler.v1beta" - + "1.Job\"<\202\323\344\223\002/\022-/v1beta1/{name=projects/*" - + "/locations/*/jobs/*}\332A\004name\022\253\001\n\tCreateJo" - + "b\0220.google.cloud.scheduler.v1beta1.Creat" - + "eJobRequest\032#.google.cloud.scheduler.v1b" - + "eta1.Job\"G\202\323\344\223\0024\"-/v1beta1/{parent=proje" - + "cts/*/locations/*}/jobs:\003job\332A\nparent,jo" - + "b\022\264\001\n\tUpdateJob\0220.google.cloud.scheduler" - + ".v1beta1.UpdateJobRequest\032#.google.cloud" - + ".scheduler.v1beta1.Job\"P\202\323\344\223\002821/v1beta1" - + "/{job.name=projects/*/locations/*/jobs/*" - + "}:\003job\332A\017job,update_mask\022\223\001\n\tDeleteJob\0220" - + ".google.cloud.scheduler.v1beta1.DeleteJo" - + "bRequest\032\026.google.protobuf.Empty\"<\202\323\344\223\002/" - + "*-/v1beta1/{name=projects/*/locations/*/" - + "jobs/*}\332A\004name\022\247\001\n\010PauseJob\022/.google.clo" - + "ud.scheduler.v1beta1.PauseJobRequest\032#.g" - + "oogle.cloud.scheduler.v1beta1.Job\"E\202\323\344\223\002" - + "8\"3/v1beta1/{name=projects/*/locations/*" - + "/jobs/*}:pause:\001*\332A\004name\022\252\001\n\tResumeJob\0220" - + ".google.cloud.scheduler.v1beta1.ResumeJo" - + "bRequest\032#.google.cloud.scheduler.v1beta" - + "1.Job\"F\202\323\344\223\0029\"4/v1beta1/{name=projects/*" - + "/locations/*/jobs/*}:resume:\001*\332A\004name\022\241\001" - + "\n\006RunJob\022-.google.cloud.scheduler.v1beta" - + "1.RunJobRequest\032#.google.cloud.scheduler" - + ".v1beta1.Job\"C\202\323\344\223\0026\"1/v1beta1/{name=pro" - + "jects/*/locations/*/jobs/*}:run:\001*\332A\004nam" - + "e\032Q\312A\035cloudscheduler.googleapis.com\322A.ht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "formB\213\001\n\"com.google.cloud.scheduler.v1be" - + "ta1B\016SchedulerProtoP\001ZGgoogle.golang.org" - + "/genproto/googleapis/cloud/scheduler/v1b" - + "eta1;scheduler\242\002\tSCHEDULERb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor, - new java.lang.String[] { - "Jobs", "NextPageToken", - }); - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor, - new java.lang.String[] { - "Parent", "Job", - }); - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor, - new java.lang.String[] { - "Job", "UpdateMask", - }); - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java deleted file mode 100644 index 1118344d..00000000 --- a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java +++ /dev/null @@ -1,218 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/target.proto - -package com.google.cloud.scheduler.v1beta1; - -public final class TargetProto { - private TargetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/scheduler/v1beta1/target." - + "proto\022\036google.cloud.scheduler.v1beta1\032\031g" - + "oogle/api/resource.proto\032\034google/api/ann" - + "otations.proto\"\376\002\n\nHttpTarget\022\013\n\003uri\030\001 \001" - + "(\t\022?\n\013http_method\030\002 \001(\0162*.google.cloud.s" - + "cheduler.v1beta1.HttpMethod\022H\n\007headers\030\003" - + " \003(\01327.google.cloud.scheduler.v1beta1.Ht" - + "tpTarget.HeadersEntry\022\014\n\004body\030\004 \001(\014\022A\n\013o" - + "auth_token\030\005 \001(\0132*.google.cloud.schedule" - + "r.v1beta1.OAuthTokenH\000\022?\n\noidc_token\030\006 \001" - + "(\0132).google.cloud.scheduler.v1beta1.Oidc" - + "TokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"" - + "\313\002\n\023AppEngineHttpTarget\022?\n\013http_method\030\001" - + " \001(\0162*.google.cloud.scheduler.v1beta1.Ht" - + "tpMethod\022L\n\022app_engine_routing\030\002 \001(\01320.g" - + "oogle.cloud.scheduler.v1beta1.AppEngineR" - + "outing\022\024\n\014relative_uri\030\003 \001(\t\022Q\n\007headers\030" - + "\004 \003(\0132@.google.cloud.scheduler.v1beta1.A" - + "ppEngineHttpTarget.HeadersEntry\022\014\n\004body\030" - + "\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001\"\327\001\n\014PubsubTarget\0224\n\ntopic_" - + "name\030\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/T" - + "opic\022\014\n\004data\030\003 \001(\014\022P\n\nattributes\030\004 \003(\0132<" - + ".google.cloud.scheduler.v1beta1.PubsubTa" - + "rget.AttributesEntry\0321\n\017AttributesEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" - + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" - + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n" - + "\nOAuthToken\022\035\n\025service_account_email\030\001 \001" - + "(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025servic" - + "e_account_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*" - + "s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED" - + "\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004" - + "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\277\001\n" - + "\"com.google.cloud.scheduler.v1beta1B\013Tar" - + "getProtoP\001ZGgoogle.golang.org/genproto/g" - + "oogleapis/cloud/scheduler/v1beta1;schedu" - + "ler\352A@\n\033pubsub.googleapis.com/Topic\022!pro" - + "jects/{project}/topics/{topic}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor, - new java.lang.String[] { - "Uri", - "HttpMethod", - "Headers", - "Body", - "OauthToken", - "OidcToken", - "AuthorizationHeader", - }); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor, - new java.lang.String[] { - "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", - }); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor, - new java.lang.String[] { - "TopicName", "Data", "Attributes", - }); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor = - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor, - new java.lang.String[] { - "Service", "Version", "Instance", "Host", - }); - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Scope", - }); - internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor, - new java.lang.String[] { - "ServiceAccountEmail", "Audience", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 2e2156b1d0d4e0a607b42d8396388afcba021841 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:08:20 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../scheduler/v1/CloudSchedulerClient.java | 6 +- .../scheduler/v1/CloudSchedulerSettings.java | 7 +- .../cloud/scheduler/v1/gapic_metadata.json | 0 .../cloud/scheduler/v1/package-info.java | 0 .../scheduler/v1/stub/CloudSchedulerStub.java | 0 .../v1/stub/CloudSchedulerStubSettings.java | 6 +- .../GrpcCloudSchedulerCallableFactory.java | 0 .../v1/stub/GrpcCloudSchedulerStub.java | 1 - ...HttpJsonCloudSchedulerCallableFactory.java | 0 .../v1/stub/HttpJsonCloudSchedulerStub.java | 0 .../v1beta1/CloudSchedulerClient.java | 6 +- .../v1beta1/CloudSchedulerSettings.java | 7 +- .../scheduler/v1beta1/gapic_metadata.json | 0 .../cloud/scheduler/v1beta1/package-info.java | 0 .../v1beta1/stub/CloudSchedulerStub.java | 0 .../stub/CloudSchedulerStubSettings.java | 6 +- .../GrpcCloudSchedulerCallableFactory.java | 0 .../v1beta1/stub/GrpcCloudSchedulerStub.java | 1 - ...HttpJsonCloudSchedulerCallableFactory.java | 0 .../stub/HttpJsonCloudSchedulerStub.java | 0 .../v1/CloudSchedulerClientHttpJsonTest.java | 0 .../v1/CloudSchedulerClientTest.java | 0 .../scheduler/v1/MockCloudScheduler.java | 0 .../scheduler/v1/MockCloudSchedulerImpl.java | 0 .../CloudSchedulerClientHttpJsonTest.java | 0 .../v1beta1/CloudSchedulerClientTest.java | 0 .../scheduler/v1beta1/MockCloudScheduler.java | 0 .../v1beta1/MockCloudSchedulerImpl.java | 0 .../scheduler/v1/CloudSchedulerGrpc.java | 767 +++++--- .../scheduler/v1beta1/CloudSchedulerGrpc.java | 816 ++++++--- .../v1/DeleteJobRequestOrBuilder.java | 31 - .../scheduler/v1/GetJobRequestOrBuilder.java | 31 - .../google/cloud/scheduler/v1/JobProto.java | 110 -- .../v1/PauseJobRequestOrBuilder.java | 31 - .../v1/ResumeJobRequestOrBuilder.java | 31 - .../scheduler/v1/RunJobRequestOrBuilder.java | 31 - .../cloud/scheduler/v1/SchedulerProto.java | 223 --- .../cloud/scheduler/v1/TargetProto.java | 182 -- .../v1beta1/DeleteJobRequestOrBuilder.java | 31 - .../v1beta1/GetJobRequestOrBuilder.java | 31 - .../cloud/scheduler/v1beta1/JobProto.java | 111 -- .../v1beta1/PauseJobRequestOrBuilder.java | 31 - .../v1beta1/ResumeJobRequestOrBuilder.java | 31 - .../v1beta1/RunJobRequestOrBuilder.java | 31 - .../scheduler/v1beta1/SchedulerProto.java | 226 --- .../cloud/scheduler/v1beta1/TargetProto.java | 183 -- .../scheduler/v1/AppEngineHttpTarget.java | 772 ++++---- .../v1/AppEngineHttpTargetOrBuilder.java | 75 +- .../cloud/scheduler/v1/AppEngineRouting.java | 540 +++--- .../v1/AppEngineRoutingOrBuilder.java | 54 +- .../cloud/scheduler/v1/CreateJobRequest.java | 445 +++-- .../v1/CreateJobRequestOrBuilder.java | 43 +- .../cloud/scheduler/v1/DeleteJobRequest.java | 329 ++-- .../v1/DeleteJobRequestOrBuilder.java | 56 + .../cloud/scheduler/v1/GetJobRequest.java | 329 ++-- .../scheduler/v1/GetJobRequestOrBuilder.java | 56 + .../google/cloud/scheduler/v1/HttpMethod.java | 117 +- .../google/cloud/scheduler/v1/HttpTarget.java | 919 ++++++---- .../scheduler/v1/HttpTargetOrBuilder.java | 86 +- .../com/google/cloud/scheduler/v1/Job.java | 1627 ++++++++++------ .../google/cloud/scheduler/v1/JobName.java | 0 .../cloud/scheduler/v1/JobOrBuilder.java | 132 +- .../google/cloud/scheduler/v1/JobProto.java | 144 ++ .../cloud/scheduler/v1/ListJobsRequest.java | 442 +++-- .../v1/ListJobsRequestOrBuilder.java | 47 +- .../cloud/scheduler/v1/ListJobsResponse.java | 454 +++-- .../v1/ListJobsResponseOrBuilder.java | 46 +- .../cloud/scheduler/v1/LocationName.java | 0 .../google/cloud/scheduler/v1/OAuthToken.java | 377 ++-- .../scheduler/v1/OAuthTokenOrBuilder.java | 36 +- .../google/cloud/scheduler/v1/OidcToken.java | 377 ++-- .../scheduler/v1/OidcTokenOrBuilder.java | 36 +- .../cloud/scheduler/v1/PauseJobRequest.java | 329 ++-- .../v1/PauseJobRequestOrBuilder.java | 56 + .../cloud/scheduler/v1/PubsubTarget.java | 599 +++--- .../scheduler/v1/PubsubTargetOrBuilder.java | 61 +- .../cloud/scheduler/v1/ResumeJobRequest.java | 329 ++-- .../v1/ResumeJobRequestOrBuilder.java | 56 + .../cloud/scheduler/v1/RetryConfig.java | 595 +++--- .../scheduler/v1/RetryConfigOrBuilder.java | 48 +- .../cloud/scheduler/v1/RunJobRequest.java | 329 ++-- .../scheduler/v1/RunJobRequestOrBuilder.java | 56 + .../cloud/scheduler/v1/SchedulerProto.java | 246 +++ .../cloud/scheduler/v1/TargetProto.java | 213 +++ .../cloud/scheduler/v1/UpdateJobRequest.java | 473 +++-- .../v1/UpdateJobRequestOrBuilder.java | 43 +- .../cloud/scheduler/v1/cloudscheduler.proto | 0 .../proto/google/cloud/scheduler/v1/job.proto | 0 .../google/cloud/scheduler/v1/target.proto | 0 .../v1beta1/AppEngineHttpTarget.java | 788 ++++---- .../v1beta1/AppEngineHttpTargetOrBuilder.java | 75 +- .../scheduler/v1beta1/AppEngineRouting.java | 550 +++--- .../v1beta1/AppEngineRoutingOrBuilder.java | 54 +- .../scheduler/v1beta1/CreateJobRequest.java | 466 +++-- .../v1beta1/CreateJobRequestOrBuilder.java | 52 +- .../scheduler/v1beta1/DeleteJobRequest.java | 339 ++-- .../v1beta1/DeleteJobRequestOrBuilder.java | 56 + .../scheduler/v1beta1/GetJobRequest.java | 336 ++-- .../v1beta1/GetJobRequestOrBuilder.java | 56 + .../cloud/scheduler/v1beta1/HttpMethod.java | 117 +- .../cloud/scheduler/v1beta1/HttpTarget.java | 918 ++++++---- .../v1beta1/HttpTargetOrBuilder.java | 86 +- .../google/cloud/scheduler/v1beta1/Job.java | 1630 +++++++++++------ .../cloud/scheduler/v1beta1/JobName.java | 0 .../cloud/scheduler/v1beta1/JobOrBuilder.java | 132 +- .../cloud/scheduler/v1beta1/JobProto.java | 145 ++ .../scheduler/v1beta1/ListJobsRequest.java | 452 +++-- .../v1beta1/ListJobsRequestOrBuilder.java | 47 +- .../scheduler/v1beta1/ListJobsResponse.java | 459 +++-- .../v1beta1/ListJobsResponseOrBuilder.java | 46 +- .../cloud/scheduler/v1beta1/LocationName.java | 0 .../cloud/scheduler/v1beta1/OAuthToken.java | 380 ++-- .../v1beta1/OAuthTokenOrBuilder.java | 36 +- .../cloud/scheduler/v1beta1/OidcToken.java | 380 ++-- .../scheduler/v1beta1/OidcTokenOrBuilder.java | 36 +- .../scheduler/v1beta1/PauseJobRequest.java | 339 ++-- .../v1beta1/PauseJobRequestOrBuilder.java | 56 + .../cloud/scheduler/v1beta1/PubsubTarget.java | 602 +++--- .../v1beta1/PubsubTargetOrBuilder.java | 61 +- .../scheduler/v1beta1/ResumeJobRequest.java | 339 ++-- .../v1beta1/ResumeJobRequestOrBuilder.java | 56 + .../cloud/scheduler/v1beta1/RetryConfig.java | 595 +++--- .../v1beta1/RetryConfigOrBuilder.java | 48 +- .../scheduler/v1beta1/RunJobRequest.java | 336 ++-- .../v1beta1/RunJobRequestOrBuilder.java | 56 + .../scheduler/v1beta1/SchedulerProto.java | 249 +++ .../cloud/scheduler/v1beta1/TargetProto.java | 218 +++ .../scheduler/v1beta1/UpdateJobRequest.java | 458 +++-- .../v1beta1/UpdateJobRequestOrBuilder.java | 43 +- .../scheduler/v1beta1/cloudscheduler.proto | 0 .../google/cloud/scheduler/v1beta1/job.proto | 0 .../cloud/scheduler/v1beta1/target.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createjob/AsyncCreateJob.java | 0 .../createjob/SyncCreateJob.java | 0 .../SyncCreateJobLocationnameJob.java | 0 .../createjob/SyncCreateJobStringJob.java | 0 .../deletejob/AsyncDeleteJob.java | 0 .../deletejob/SyncDeleteJob.java | 1 - .../deletejob/SyncDeleteJobJobname.java | 1 - .../deletejob/SyncDeleteJobString.java | 1 - .../getjob/AsyncGetJob.java | 0 .../getjob/SyncGetJob.java | 0 .../getjob/SyncGetJobJobname.java | 0 .../getjob/SyncGetJobString.java | 0 .../listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsLocationname.java | 0 .../listjobs/SyncListJobsString.java | 0 .../pausejob/AsyncPauseJob.java | 0 .../pausejob/SyncPauseJob.java | 0 .../pausejob/SyncPauseJobJobname.java | 0 .../pausejob/SyncPauseJobString.java | 0 .../resumejob/AsyncResumeJob.java | 0 .../resumejob/SyncResumeJob.java | 0 .../resumejob/SyncResumeJobJobname.java | 0 .../resumejob/SyncResumeJobString.java | 0 .../runjob/AsyncRunJob.java | 0 .../runjob/SyncRunJob.java | 0 .../runjob/SyncRunJobJobname.java | 0 .../runjob/SyncRunJobString.java | 0 .../updatejob/AsyncUpdateJob.java | 0 .../updatejob/SyncUpdateJob.java | 0 .../updatejob/SyncUpdateJobJobFieldmask.java | 0 .../getjob/SyncGetJob.java | 0 .../getjob/SyncGetJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createjob/AsyncCreateJob.java | 0 .../createjob/SyncCreateJob.java | 0 .../SyncCreateJobLocationnameJob.java | 0 .../createjob/SyncCreateJobStringJob.java | 0 .../deletejob/AsyncDeleteJob.java | 0 .../deletejob/SyncDeleteJob.java | 1 - .../deletejob/SyncDeleteJobJobname.java | 1 - .../deletejob/SyncDeleteJobString.java | 1 - .../getjob/AsyncGetJob.java | 0 .../getjob/SyncGetJob.java | 0 .../getjob/SyncGetJobJobname.java | 0 .../getjob/SyncGetJobString.java | 0 .../listjobs/AsyncListJobs.java | 0 .../listjobs/AsyncListJobsPaged.java | 0 .../listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsLocationname.java | 0 .../listjobs/SyncListJobsString.java | 0 .../pausejob/AsyncPauseJob.java | 0 .../pausejob/SyncPauseJob.java | 0 .../pausejob/SyncPauseJobJobname.java | 0 .../pausejob/SyncPauseJobString.java | 0 .../resumejob/AsyncResumeJob.java | 0 .../resumejob/SyncResumeJob.java | 0 .../resumejob/SyncResumeJobJobname.java | 0 .../resumejob/SyncResumeJobString.java | 0 .../runjob/AsyncRunJob.java | 0 .../runjob/SyncRunJob.java | 0 .../runjob/SyncRunJobJobname.java | 0 .../runjob/SyncRunJobString.java | 0 .../updatejob/AsyncUpdateJob.java | 0 .../updatejob/SyncUpdateJob.java | 0 .../updatejob/SyncUpdateJobJobFieldmask.java | 0 .../getjob/SyncGetJob.java | 0 .../getjob/SyncGetJob.java | 0 206 files changed, 15343 insertions(+), 9695 deletions(-) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java (99%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java (99%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java (97%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java (98%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java (100%) rename {owl-bot-staging/v1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-scheduler => google-cloud-scheduler}/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-scheduler-v1 => grpc-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java (53%) rename {owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1 => grpc-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java (50%) delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java (89%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java (90%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java (66%) create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java (66%) create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java (88%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/Job.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/JobName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java (92%) create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java (66%) create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java (66%) create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java (88%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java (66%) create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java create mode 100644 proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/proto/google/cloud/scheduler/v1/job.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-scheduler-v1 => proto-google-cloud-scheduler-v1}/src/main/proto/google/cloud/scheduler/v1/target.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java (76%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java (89%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java (83%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java (90%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java (65%) create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java (65%) create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java (76%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java (88%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java (78%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java (92%) create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java (65%) create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java (65%) create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java (78%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java (88%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java (65%) create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java create mode 100644 proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/proto/google/cloud/scheduler/v1beta1/job.proto (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1 => proto-google-cloud-scheduler-v1beta1}/src/main/proto/google/cloud/scheduler/v1beta1/target.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java (97%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java (97%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java (97%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java (100%) rename {owl-bot-staging/v1beta1/samples => samples}/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java index 608a1b1c..de39d76f 100644 --- a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java @@ -58,13 +58,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java index 3de8a6a1..b065c107 100644 --- a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.scheduler.v1.stub.CloudSchedulerStubSettings; @@ -44,10 +43,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are + *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStub.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java index 2fe8c50f..fa706a24 100644 --- a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java @@ -70,10 +70,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are + *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java index 62564b6a..3b27f0df 100644 --- a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/GrpcCloudSchedulerStub.java @@ -40,7 +40,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/HttpJsonCloudSchedulerStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java index ef6ce6bc..5e9460a1 100644 --- a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java @@ -59,13 +59,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java similarity index 97% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java index 51d5f5ea..513da07e 100644 --- a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.scheduler.v1beta1.stub.CloudSchedulerStubSettings; @@ -44,10 +43,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are + *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/package-info.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java similarity index 98% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java index 7d251ed8..4e8aa498 100644 --- a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java @@ -70,10 +70,10 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are + *
  • The default service address (cloudscheduler.googleapis.com) and default port (443) are * used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java index a0ae3ad8..f4ee550c 100644 --- a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java +++ b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/GrpcCloudSchedulerStub.java @@ -41,7 +41,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java b/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java rename to google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/HttpJsonCloudSchedulerStub.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/CloudSchedulerClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudScheduler.java diff --git a/owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1/MockCloudSchedulerImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudScheduler.java diff --git a/owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java b/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java rename to google-cloud-scheduler/src/test/java/com/google/cloud/scheduler/v1beta1/MockCloudSchedulerImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java b/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java similarity index 53% rename from owl-bot-staging/v1/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java rename to grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java index 416b4a9d..45346eee 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java +++ b/grpc-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.scheduler.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * The Cloud Scheduler API allows external entities to reliably
  * schedule asynchronous jobs.
@@ -19,337 +36,430 @@ private CloudSchedulerGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.scheduler.v1.CloudScheduler";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListJobsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.ListJobsRequest,
+          com.google.cloud.scheduler.v1.ListJobsResponse>
+      getListJobsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListJobs",
       requestType = com.google.cloud.scheduler.v1.ListJobsRequest.class,
       responseType = com.google.cloud.scheduler.v1.ListJobsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListJobsMethod() {
-    io.grpc.MethodDescriptor getListJobsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.ListJobsRequest,
+          com.google.cloud.scheduler.v1.ListJobsResponse>
+      getListJobsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.ListJobsRequest,
+            com.google.cloud.scheduler.v1.ListJobsResponse>
+        getListJobsMethod;
     if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
-          CloudSchedulerGrpc.getListJobsMethod = getListJobsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.ListJobsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.ListJobsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
-              .build();
+          CloudSchedulerGrpc.getListJobsMethod =
+              getListJobsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.ListJobsRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.ListJobsResponse.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
+                      .build();
         }
       }
     }
     return getListJobsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.GetJobRequest, com.google.cloud.scheduler.v1.Job>
+      getGetJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetJob",
       requestType = com.google.cloud.scheduler.v1.GetJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetJobMethod() {
-    io.grpc.MethodDescriptor getGetJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.GetJobRequest, com.google.cloud.scheduler.v1.Job>
+      getGetJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.GetJobRequest, com.google.cloud.scheduler.v1.Job>
+        getGetJobMethod;
     if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
-          CloudSchedulerGrpc.getGetJobMethod = getGetJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.GetJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
-              .build();
+          CloudSchedulerGrpc.getGetJobMethod =
+              getGetJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.GetJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
+                      .build();
         }
       }
     }
     return getGetJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.CreateJobRequest, com.google.cloud.scheduler.v1.Job>
+      getCreateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateJob",
       requestType = com.google.cloud.scheduler.v1.CreateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateJobMethod() {
-    io.grpc.MethodDescriptor getCreateJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.CreateJobRequest, com.google.cloud.scheduler.v1.Job>
+      getCreateJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.CreateJobRequest, com.google.cloud.scheduler.v1.Job>
+        getCreateJobMethod;
     if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
-          CloudSchedulerGrpc.getCreateJobMethod = getCreateJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.CreateJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
-              .build();
+          CloudSchedulerGrpc.getCreateJobMethod =
+              getCreateJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.CreateJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
+                      .build();
         }
       }
     }
     return getCreateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.UpdateJobRequest, com.google.cloud.scheduler.v1.Job>
+      getUpdateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateJob",
       requestType = com.google.cloud.scheduler.v1.UpdateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateJobMethod() {
-    io.grpc.MethodDescriptor getUpdateJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.UpdateJobRequest, com.google.cloud.scheduler.v1.Job>
+      getUpdateJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.UpdateJobRequest, com.google.cloud.scheduler.v1.Job>
+        getUpdateJobMethod;
     if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
-          CloudSchedulerGrpc.getUpdateJobMethod = getUpdateJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.UpdateJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
-              .build();
+          CloudSchedulerGrpc.getUpdateJobMethod =
+              getUpdateJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.UpdateJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
+                      .build();
         }
       }
     }
     return getUpdateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>
+      getDeleteJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteJob",
       requestType = com.google.cloud.scheduler.v1.DeleteJobRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteJobMethod() {
-    io.grpc.MethodDescriptor getDeleteJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>
+      getDeleteJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>
+        getDeleteJobMethod;
     if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
-          CloudSchedulerGrpc.getDeleteJobMethod = getDeleteJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.DeleteJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
-              .build();
+          CloudSchedulerGrpc.getDeleteJobMethod =
+              getDeleteJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.DeleteJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
+                      .build();
         }
       }
     }
     return getDeleteJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.PauseJobRequest, com.google.cloud.scheduler.v1.Job>
+      getPauseJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseJob",
       requestType = com.google.cloud.scheduler.v1.PauseJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseJobMethod() {
-    io.grpc.MethodDescriptor getPauseJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.PauseJobRequest, com.google.cloud.scheduler.v1.Job>
+      getPauseJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.PauseJobRequest, com.google.cloud.scheduler.v1.Job>
+        getPauseJobMethod;
     if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
-          CloudSchedulerGrpc.getPauseJobMethod = getPauseJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.PauseJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
-              .build();
+          CloudSchedulerGrpc.getPauseJobMethod =
+              getPauseJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.PauseJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
+                      .build();
         }
       }
     }
     return getPauseJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.ResumeJobRequest, com.google.cloud.scheduler.v1.Job>
+      getResumeJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeJob",
       requestType = com.google.cloud.scheduler.v1.ResumeJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeJobMethod() {
-    io.grpc.MethodDescriptor getResumeJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.ResumeJobRequest, com.google.cloud.scheduler.v1.Job>
+      getResumeJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.ResumeJobRequest, com.google.cloud.scheduler.v1.Job>
+        getResumeJobMethod;
     if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
-          CloudSchedulerGrpc.getResumeJobMethod = getResumeJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.ResumeJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
-              .build();
+          CloudSchedulerGrpc.getResumeJobMethod =
+              getResumeJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.ResumeJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
+                      .build();
         }
       }
     }
     return getResumeJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.RunJobRequest, com.google.cloud.scheduler.v1.Job>
+      getRunJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunJob",
       requestType = com.google.cloud.scheduler.v1.RunJobRequest.class,
       responseType = com.google.cloud.scheduler.v1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunJobMethod() {
-    io.grpc.MethodDescriptor getRunJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1.RunJobRequest, com.google.cloud.scheduler.v1.Job>
+      getRunJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1.RunJobRequest, com.google.cloud.scheduler.v1.Job>
+        getRunJobMethod;
     if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
-          CloudSchedulerGrpc.getRunJobMethod = getRunJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.RunJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
-              .build();
+          CloudSchedulerGrpc.getRunJobMethod =
+              getRunJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.RunJobRequest.getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
+                      .build();
         }
       }
     }
     return getRunJobMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudSchedulerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudSchedulerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudSchedulerStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudSchedulerStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudSchedulerStub(channel, callOptions);
+          }
+        };
     return CloudSchedulerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudSchedulerBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudSchedulerBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudSchedulerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudSchedulerBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudSchedulerBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudSchedulerBlockingStub(channel, callOptions);
+          }
+        };
     return CloudSchedulerBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudSchedulerFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudSchedulerFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudSchedulerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudSchedulerFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudSchedulerFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudSchedulerFutureStub(channel, callOptions);
+          }
+        };
     return CloudSchedulerFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static abstract class CloudSchedulerImplBase implements io.grpc.BindableService { + public abstract static class CloudSchedulerImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists jobs.
      * 
*/ - public void listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listJobs( + com.google.cloud.scheduler.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** + * + * *
      * Gets a job.
      * 
*/ - public void getJob(com.google.cloud.scheduler.v1.GetJobRequest request, + public void getJob( + com.google.cloud.scheduler.v1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** + * + * *
      * Creates a job.
      * 
*/ - public void createJob(com.google.cloud.scheduler.v1.CreateJobRequest request, + public void createJob( + com.google.cloud.scheduler.v1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -360,22 +470,28 @@ public void createJob(com.google.cloud.scheduler.v1.CreateJobRequest request,
      * until a successful response is received.
      * 
*/ - public void updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request, + public void updateJob( + com.google.cloud.scheduler.v1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** + * + * *
      * Deletes a job.
      * 
*/ - public void deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.scheduler.v1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** + * + * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -385,12 +501,15 @@ public void deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request,
      * to be paused.
      * 
*/ - public void pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request, + public void pauseJob( + com.google.cloud.scheduler.v1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseJobMethod(), responseObserver); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -399,137 +518,147 @@ public void pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request,
      * [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request, + public void resumeJob( + com.google.cloud.scheduler.v1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeJobMethod(), responseObserver); } /** + * + * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob(com.google.cloud.scheduler.v1.RunJobRequest request, + public void runJob( + com.google.cloud.scheduler.v1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunJobMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.ListJobsRequest, - com.google.cloud.scheduler.v1.ListJobsResponse>( - this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.ListJobsRequest, + com.google.cloud.scheduler.v1.ListJobsResponse>(this, METHODID_LIST_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.GetJobRequest, - com.google.cloud.scheduler.v1.Job>( - this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.GetJobRequest, + com.google.cloud.scheduler.v1.Job>(this, METHODID_GET_JOB))) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.CreateJobRequest, - com.google.cloud.scheduler.v1.Job>( - this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.CreateJobRequest, + com.google.cloud.scheduler.v1.Job>(this, METHODID_CREATE_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.UpdateJobRequest, - com.google.cloud.scheduler.v1.Job>( - this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.UpdateJobRequest, + com.google.cloud.scheduler.v1.Job>(this, METHODID_UPDATE_JOB))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.DeleteJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.DeleteJobRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_JOB))) .addMethod( - getPauseJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.PauseJobRequest, - com.google.cloud.scheduler.v1.Job>( - this, METHODID_PAUSE_JOB))) + getPauseJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.PauseJobRequest, + com.google.cloud.scheduler.v1.Job>(this, METHODID_PAUSE_JOB))) .addMethod( - getResumeJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.ResumeJobRequest, - com.google.cloud.scheduler.v1.Job>( - this, METHODID_RESUME_JOB))) + getResumeJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.ResumeJobRequest, + com.google.cloud.scheduler.v1.Job>(this, METHODID_RESUME_JOB))) .addMethod( - getRunJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1.RunJobRequest, - com.google.cloud.scheduler.v1.Job>( - this, METHODID_RUN_JOB))) + getRunJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1.RunJobRequest, + com.google.cloud.scheduler.v1.Job>(this, METHODID_RUN_JOB))) .build(); } } /** + * + * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerStub extends io.grpc.stub.AbstractAsyncStub { - private CloudSchedulerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerStub + extends io.grpc.stub.AbstractAsyncStub { + private CloudSchedulerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudSchedulerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudSchedulerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudSchedulerStub(channel, callOptions); } /** + * + * *
      * Lists jobs.
      * 
*/ - public void listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listJobs( + com.google.cloud.scheduler.v1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a job.
      * 
*/ - public void getJob(com.google.cloud.scheduler.v1.GetJobRequest request, + public void getJob( + com.google.cloud.scheduler.v1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a job.
      * 
*/ - public void createJob(com.google.cloud.scheduler.v1.CreateJobRequest request, + public void createJob( + com.google.cloud.scheduler.v1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -540,24 +669,30 @@ public void createJob(com.google.cloud.scheduler.v1.CreateJobRequest request,
      * until a successful response is received.
      * 
*/ - public void updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request, + public void updateJob( + com.google.cloud.scheduler.v1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a job.
      * 
*/ - public void deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.scheduler.v1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -567,13 +702,16 @@ public void deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request,
      * to be paused.
      * 
*/ - public void pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request, + public void pauseJob( + com.google.cloud.scheduler.v1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -582,20 +720,24 @@ public void pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request,
      * [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request, + public void resumeJob( + com.google.cloud.scheduler.v1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getResumeJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob(com.google.cloud.scheduler.v1.RunJobRequest request, + public void runJob( + com.google.cloud.scheduler.v1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request, responseObserver); @@ -603,14 +745,16 @@ public void runJob(com.google.cloud.scheduler.v1.RunJobRequest request, } /** + * + * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudSchedulerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudSchedulerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -621,36 +765,47 @@ protected CloudSchedulerBlockingStub build( } /** + * + * *
      * Lists jobs.
      * 
*/ - public com.google.cloud.scheduler.v1.ListJobsResponse listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request) { + public com.google.cloud.scheduler.v1.ListJobsResponse listJobs( + com.google.cloud.scheduler.v1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a job.
      * 
*/ - public com.google.cloud.scheduler.v1.Job getJob(com.google.cloud.scheduler.v1.GetJobRequest request) { + public com.google.cloud.scheduler.v1.Job getJob( + com.google.cloud.scheduler.v1.GetJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetJobMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a job.
      * 
*/ - public com.google.cloud.scheduler.v1.Job createJob(com.google.cloud.scheduler.v1.CreateJobRequest request) { + public com.google.cloud.scheduler.v1.Job createJob( + com.google.cloud.scheduler.v1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -661,22 +816,28 @@ public com.google.cloud.scheduler.v1.Job createJob(com.google.cloud.scheduler.v1
      * until a successful response is received.
      * 
*/ - public com.google.cloud.scheduler.v1.Job updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request) { + public com.google.cloud.scheduler.v1.Job updateJob( + com.google.cloud.scheduler.v1.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a job.
      * 
*/ - public com.google.protobuf.Empty deleteJob(com.google.cloud.scheduler.v1.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob( + com.google.cloud.scheduler.v1.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -686,12 +847,15 @@ public com.google.protobuf.Empty deleteJob(com.google.cloud.scheduler.v1.DeleteJ
      * to be paused.
      * 
*/ - public com.google.cloud.scheduler.v1.Job pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request) { + public com.google.cloud.scheduler.v1.Job pauseJob( + com.google.cloud.scheduler.v1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseJobMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -700,33 +864,39 @@ public com.google.cloud.scheduler.v1.Job pauseJob(com.google.cloud.scheduler.v1.
      * [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED] to be resumed.
      * 
*/ - public com.google.cloud.scheduler.v1.Job resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request) { + public com.google.cloud.scheduler.v1.Job resumeJob( + com.google.cloud.scheduler.v1.ResumeJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeJobMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.cloud.scheduler.v1.Job runJob(com.google.cloud.scheduler.v1.RunJobRequest request) { + public com.google.cloud.scheduler.v1.Job runJob( + com.google.cloud.scheduler.v1.RunJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunJobMethod(), getCallOptions(), request); } } /** + * + * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudSchedulerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudSchedulerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -737,39 +907,48 @@ protected CloudSchedulerFutureStub build( } /** + * + * *
      * Lists jobs.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listJobs( - com.google.cloud.scheduler.v1.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.scheduler.v1.ListJobsResponse> + listJobs(com.google.cloud.scheduler.v1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.scheduler.v1.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getJob(com.google.cloud.scheduler.v1.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createJob( - com.google.cloud.scheduler.v1.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + createJob(com.google.cloud.scheduler.v1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1.Job] is returned. If the job does
@@ -780,13 +959,15 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateJob(
-        com.google.cloud.scheduler.v1.UpdateJobRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        updateJob(com.google.cloud.scheduler.v1.UpdateJobRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a job.
      * 
@@ -798,6 +979,8 @@ public com.google.common.util.concurrent.ListenableFuture * Pauses a job. * If a job is paused then the system will stop executing the job @@ -807,13 +990,15 @@ public com.google.common.util.concurrent.ListenableFuture */ - public com.google.common.util.concurrent.ListenableFuture pauseJob( - com.google.cloud.scheduler.v1.PauseJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + pauseJob(com.google.cloud.scheduler.v1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1.Job.State.PAUSED]. The
@@ -822,21 +1007,23 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeJob(
-        com.google.cloud.scheduler.v1.ResumeJobRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture
+        resumeJob(com.google.cloud.scheduler.v1.ResumeJobRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeJobMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture runJob( - com.google.cloud.scheduler.v1.RunJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture + runJob(com.google.cloud.scheduler.v1.RunJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request); } @@ -851,11 +1038,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CloudSchedulerImplBase serviceImpl; private final int methodId; @@ -869,35 +1056,44 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_JOBS: - serviceImpl.listJobs((com.google.cloud.scheduler.v1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listJobs( + (com.google.cloud.scheduler.v1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_JOB: - serviceImpl.getJob((com.google.cloud.scheduler.v1.GetJobRequest) request, + serviceImpl.getJob( + (com.google.cloud.scheduler.v1.GetJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_JOB: - serviceImpl.createJob((com.google.cloud.scheduler.v1.CreateJobRequest) request, + serviceImpl.createJob( + (com.google.cloud.scheduler.v1.CreateJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_JOB: - serviceImpl.updateJob((com.google.cloud.scheduler.v1.UpdateJobRequest) request, + serviceImpl.updateJob( + (com.google.cloud.scheduler.v1.UpdateJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_JOB: - serviceImpl.deleteJob((com.google.cloud.scheduler.v1.DeleteJobRequest) request, + serviceImpl.deleteJob( + (com.google.cloud.scheduler.v1.DeleteJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PAUSE_JOB: - serviceImpl.pauseJob((com.google.cloud.scheduler.v1.PauseJobRequest) request, + serviceImpl.pauseJob( + (com.google.cloud.scheduler.v1.PauseJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESUME_JOB: - serviceImpl.resumeJob((com.google.cloud.scheduler.v1.ResumeJobRequest) request, + serviceImpl.resumeJob( + (com.google.cloud.scheduler.v1.ResumeJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RUN_JOB: - serviceImpl.runJob((com.google.cloud.scheduler.v1.RunJobRequest) request, + serviceImpl.runJob( + (com.google.cloud.scheduler.v1.RunJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -916,8 +1112,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class CloudSchedulerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class CloudSchedulerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { CloudSchedulerBaseDescriptorSupplier() {} @java.lang.Override @@ -959,17 +1156,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CloudSchedulerGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) - .addMethod(getListJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getCreateJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getPauseJobMethod()) - .addMethod(getResumeJobMethod()) - .addMethod(getRunJobMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) + .addMethod(getListJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getCreateJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getPauseJobMethod()) + .addMethod(getResumeJobMethod()) + .addMethod(getRunJobMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java b/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java similarity index 50% rename from owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java rename to grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java index 36255c51..a54ae6b7 100644 --- a/owl-bot-staging/v1beta1/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java +++ b/grpc-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.scheduler.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * The Cloud Scheduler API allows external entities to reliably
  * schedule asynchronous jobs.
@@ -19,337 +36,454 @@ private CloudSchedulerGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.scheduler.v1beta1.CloudScheduler";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getListJobsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.ListJobsRequest,
+          com.google.cloud.scheduler.v1beta1.ListJobsResponse>
+      getListJobsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListJobs",
       requestType = com.google.cloud.scheduler.v1beta1.ListJobsRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.ListJobsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListJobsMethod() {
-    io.grpc.MethodDescriptor getListJobsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.ListJobsRequest,
+          com.google.cloud.scheduler.v1beta1.ListJobsResponse>
+      getListJobsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.ListJobsRequest,
+            com.google.cloud.scheduler.v1beta1.ListJobsResponse>
+        getListJobsMethod;
     if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getListJobsMethod = CloudSchedulerGrpc.getListJobsMethod) == null) {
-          CloudSchedulerGrpc.getListJobsMethod = getListJobsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.ListJobsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.ListJobsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
-              .build();
+          CloudSchedulerGrpc.getListJobsMethod =
+              getListJobsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.ListJobsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.ListJobsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ListJobs"))
+                      .build();
         }
       }
     }
     return getListJobsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.GetJobRequest, com.google.cloud.scheduler.v1beta1.Job>
+      getGetJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetJob",
       requestType = com.google.cloud.scheduler.v1beta1.GetJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetJobMethod() {
-    io.grpc.MethodDescriptor getGetJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.GetJobRequest, com.google.cloud.scheduler.v1beta1.Job>
+      getGetJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.GetJobRequest,
+            com.google.cloud.scheduler.v1beta1.Job>
+        getGetJobMethod;
     if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getGetJobMethod = CloudSchedulerGrpc.getGetJobMethod) == null) {
-          CloudSchedulerGrpc.getGetJobMethod = getGetJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.GetJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
-              .build();
+          CloudSchedulerGrpc.getGetJobMethod =
+              getGetJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.GetJobRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("GetJob"))
+                      .build();
         }
       }
     }
     return getGetJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.CreateJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getCreateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateJob",
       requestType = com.google.cloud.scheduler.v1beta1.CreateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateJobMethod() {
-    io.grpc.MethodDescriptor getCreateJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.CreateJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getCreateJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.CreateJobRequest,
+            com.google.cloud.scheduler.v1beta1.Job>
+        getCreateJobMethod;
     if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getCreateJobMethod = CloudSchedulerGrpc.getCreateJobMethod) == null) {
-          CloudSchedulerGrpc.getCreateJobMethod = getCreateJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.CreateJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
-              .build();
+          CloudSchedulerGrpc.getCreateJobMethod =
+              getCreateJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.CreateJobRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("CreateJob"))
+                      .build();
         }
       }
     }
     return getCreateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.UpdateJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getUpdateJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateJob",
       requestType = com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateJobMethod() {
-    io.grpc.MethodDescriptor getUpdateJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.UpdateJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getUpdateJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.UpdateJobRequest,
+            com.google.cloud.scheduler.v1beta1.Job>
+        getUpdateJobMethod;
     if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getUpdateJobMethod = CloudSchedulerGrpc.getUpdateJobMethod) == null) {
-          CloudSchedulerGrpc.getUpdateJobMethod = getUpdateJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.UpdateJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
-              .build();
+          CloudSchedulerGrpc.getUpdateJobMethod =
+              getUpdateJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.UpdateJobRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("UpdateJob"))
+                      .build();
         }
       }
     }
     return getUpdateJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.DeleteJobRequest, com.google.protobuf.Empty>
+      getDeleteJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteJob",
       requestType = com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteJobMethod() {
-    io.grpc.MethodDescriptor getDeleteJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.DeleteJobRequest, com.google.protobuf.Empty>
+      getDeleteJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.DeleteJobRequest, com.google.protobuf.Empty>
+        getDeleteJobMethod;
     if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getDeleteJobMethod = CloudSchedulerGrpc.getDeleteJobMethod) == null) {
-          CloudSchedulerGrpc.getDeleteJobMethod = getDeleteJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.DeleteJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
-              .build();
+          CloudSchedulerGrpc.getDeleteJobMethod =
+              getDeleteJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.DeleteJobRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("DeleteJob"))
+                      .build();
         }
       }
     }
     return getDeleteJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getPauseJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.PauseJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getPauseJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "PauseJob",
       requestType = com.google.cloud.scheduler.v1beta1.PauseJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getPauseJobMethod() {
-    io.grpc.MethodDescriptor getPauseJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.PauseJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getPauseJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.PauseJobRequest,
+            com.google.cloud.scheduler.v1beta1.Job>
+        getPauseJobMethod;
     if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getPauseJobMethod = CloudSchedulerGrpc.getPauseJobMethod) == null) {
-          CloudSchedulerGrpc.getPauseJobMethod = getPauseJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.PauseJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
-              .build();
+          CloudSchedulerGrpc.getPauseJobMethod =
+              getPauseJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PauseJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.PauseJobRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("PauseJob"))
+                      .build();
         }
       }
     }
     return getPauseJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getResumeJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.ResumeJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getResumeJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ResumeJob",
       requestType = com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getResumeJobMethod() {
-    io.grpc.MethodDescriptor getResumeJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.ResumeJobRequest,
+          com.google.cloud.scheduler.v1beta1.Job>
+      getResumeJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.ResumeJobRequest,
+            com.google.cloud.scheduler.v1beta1.Job>
+        getResumeJobMethod;
     if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getResumeJobMethod = CloudSchedulerGrpc.getResumeJobMethod) == null) {
-          CloudSchedulerGrpc.getResumeJobMethod = getResumeJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.ResumeJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
-              .build();
+          CloudSchedulerGrpc.getResumeJobMethod =
+              getResumeJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.ResumeJobRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("ResumeJob"))
+                      .build();
         }
       }
     }
     return getResumeJobMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getRunJobMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.RunJobRequest, com.google.cloud.scheduler.v1beta1.Job>
+      getRunJobMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "RunJob",
       requestType = com.google.cloud.scheduler.v1beta1.RunJobRequest.class,
       responseType = com.google.cloud.scheduler.v1beta1.Job.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getRunJobMethod() {
-    io.grpc.MethodDescriptor getRunJobMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.scheduler.v1beta1.RunJobRequest, com.google.cloud.scheduler.v1beta1.Job>
+      getRunJobMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.scheduler.v1beta1.RunJobRequest,
+            com.google.cloud.scheduler.v1beta1.Job>
+        getRunJobMethod;
     if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
       synchronized (CloudSchedulerGrpc.class) {
         if ((getRunJobMethod = CloudSchedulerGrpc.getRunJobMethod) == null) {
-          CloudSchedulerGrpc.getRunJobMethod = getRunJobMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.RunJobRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
-              .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
-              .build();
+          CloudSchedulerGrpc.getRunJobMethod =
+              getRunJobMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RunJob"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.RunJobRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()))
+                      .setSchemaDescriptor(new CloudSchedulerMethodDescriptorSupplier("RunJob"))
+                      .build();
         }
       }
     }
     return getRunJobMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static CloudSchedulerStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudSchedulerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudSchedulerStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudSchedulerStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudSchedulerStub(channel, callOptions);
+          }
+        };
     return CloudSchedulerStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static CloudSchedulerBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static CloudSchedulerBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudSchedulerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudSchedulerBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudSchedulerBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudSchedulerBlockingStub(channel, callOptions);
+          }
+        };
     return CloudSchedulerBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static CloudSchedulerFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static CloudSchedulerFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public CloudSchedulerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new CloudSchedulerFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public CloudSchedulerFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new CloudSchedulerFutureStub(channel, callOptions);
+          }
+        };
     return CloudSchedulerFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static abstract class CloudSchedulerImplBase implements io.grpc.BindableService { + public abstract static class CloudSchedulerImplBase implements io.grpc.BindableService { /** + * + * *
      * Lists jobs.
      * 
*/ - public void listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listJobs( + com.google.cloud.scheduler.v1beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** + * + * *
      * Gets a job.
      * 
*/ - public void getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request, + public void getJob( + com.google.cloud.scheduler.v1beta1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); } /** + * + * *
      * Creates a job.
      * 
*/ - public void createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request, + public void createJob( + com.google.cloud.scheduler.v1beta1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -360,22 +494,28 @@ public void createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest reques
      * until a successful response is received.
      * 
*/ - public void updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, + public void updateJob( + com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); } /** + * + * *
      * Deletes a job.
      * 
*/ - public void deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); } /** + * + * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -385,12 +525,15 @@ public void deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest reques
      * to be paused.
      * 
*/ - public void pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request, + public void pauseJob( + com.google.cloud.scheduler.v1beta1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPauseJobMethod(), responseObserver); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -399,137 +542,148 @@ public void pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request,
      * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, + public void resumeJob( + com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResumeJobMethod(), responseObserver); } /** + * + * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request, + public void runJob( + com.google.cloud.scheduler.v1beta1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunJobMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.ListJobsRequest, - com.google.cloud.scheduler.v1beta1.ListJobsResponse>( - this, METHODID_LIST_JOBS))) + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.ListJobsRequest, + com.google.cloud.scheduler.v1beta1.ListJobsResponse>( + this, METHODID_LIST_JOBS))) .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.GetJobRequest, - com.google.cloud.scheduler.v1beta1.Job>( - this, METHODID_GET_JOB))) + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.GetJobRequest, + com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_GET_JOB))) .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.CreateJobRequest, - com.google.cloud.scheduler.v1beta1.Job>( - this, METHODID_CREATE_JOB))) + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.CreateJobRequest, + com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_CREATE_JOB))) .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.UpdateJobRequest, - com.google.cloud.scheduler.v1beta1.Job>( - this, METHODID_UPDATE_JOB))) + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.UpdateJobRequest, + com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_UPDATE_JOB))) .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.DeleteJobRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_JOB))) + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.DeleteJobRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_JOB))) .addMethod( - getPauseJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.PauseJobRequest, - com.google.cloud.scheduler.v1beta1.Job>( - this, METHODID_PAUSE_JOB))) + getPauseJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.PauseJobRequest, + com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_PAUSE_JOB))) .addMethod( - getResumeJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.ResumeJobRequest, - com.google.cloud.scheduler.v1beta1.Job>( - this, METHODID_RESUME_JOB))) + getResumeJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.ResumeJobRequest, + com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_RESUME_JOB))) .addMethod( - getRunJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.scheduler.v1beta1.RunJobRequest, - com.google.cloud.scheduler.v1beta1.Job>( - this, METHODID_RUN_JOB))) + getRunJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.scheduler.v1beta1.RunJobRequest, + com.google.cloud.scheduler.v1beta1.Job>(this, METHODID_RUN_JOB))) .build(); } } /** + * + * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerStub extends io.grpc.stub.AbstractAsyncStub { - private CloudSchedulerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerStub + extends io.grpc.stub.AbstractAsyncStub { + private CloudSchedulerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected CloudSchedulerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected CloudSchedulerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new CloudSchedulerStub(channel, callOptions); } /** + * + * *
      * Lists jobs.
      * 
*/ - public void listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listJobs( + com.google.cloud.scheduler.v1beta1.ListJobsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Gets a job.
      * 
*/ - public void getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request, + public void getJob( + com.google.cloud.scheduler.v1beta1.GetJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates a job.
      * 
*/ - public void createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request, + public void createJob( + com.google.cloud.scheduler.v1beta1.CreateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -540,24 +694,30 @@ public void createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest reques
      * until a successful response is received.
      * 
*/ - public void updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, + public void updateJob( + com.google.cloud.scheduler.v1beta1.UpdateJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Deletes a job.
      * 
*/ - public void deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, + public void deleteJob( + com.google.cloud.scheduler.v1beta1.DeleteJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -567,13 +727,16 @@ public void deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest reques
      * to be paused.
      * 
*/ - public void pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request, + public void pauseJob( + com.google.cloud.scheduler.v1beta1.PauseJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -582,20 +745,24 @@ public void pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request,
      * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
      * 
*/ - public void resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, + public void resumeJob( + com.google.cloud.scheduler.v1beta1.ResumeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getResumeJobMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public void runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request, + public void runJob( + com.google.cloud.scheduler.v1beta1.RunJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request, responseObserver); @@ -603,14 +770,16 @@ public void runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request, } /** + * + * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CloudSchedulerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CloudSchedulerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -621,36 +790,47 @@ protected CloudSchedulerBlockingStub build( } /** + * + * *
      * Lists jobs.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.ListJobsResponse listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { + public com.google.cloud.scheduler.v1beta1.ListJobsResponse listJobs( + com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** + * + * *
      * Gets a job.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job getJob( + com.google.cloud.scheduler.v1beta1.GetJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetJobMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a job.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job createJob( + com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -661,22 +841,28 @@ public com.google.cloud.scheduler.v1beta1.Job createJob(com.google.cloud.schedul
      * until a successful response is received.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job updateJob( + com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateJobMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes a job.
      * 
*/ - public com.google.protobuf.Empty deleteJob(com.google.cloud.scheduler.v1beta1.DeleteJobRequest request) { + public com.google.protobuf.Empty deleteJob( + com.google.cloud.scheduler.v1beta1.DeleteJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteJobMethod(), getCallOptions(), request); } /** + * + * *
      * Pauses a job.
      * If a job is paused then the system will stop executing the job
@@ -686,12 +872,15 @@ public com.google.protobuf.Empty deleteJob(com.google.cloud.scheduler.v1beta1.De
      * to be paused.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job pauseJob( + com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPauseJobMethod(), getCallOptions(), request); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -700,33 +889,39 @@ public com.google.cloud.scheduler.v1beta1.Job pauseJob(com.google.cloud.schedule
      * [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be resumed.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job resumeJob( + com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeJobMethod(), getCallOptions(), request); } /** + * + * *
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.cloud.scheduler.v1beta1.Job runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request) { + public com.google.cloud.scheduler.v1beta1.Job runJob( + com.google.cloud.scheduler.v1beta1.RunJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRunJobMethod(), getCallOptions(), request); } } /** + * + * *
    * The Cloud Scheduler API allows external entities to reliably
    * schedule asynchronous jobs.
    * 
*/ - public static final class CloudSchedulerFutureStub extends io.grpc.stub.AbstractFutureStub { - private CloudSchedulerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class CloudSchedulerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CloudSchedulerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -737,39 +932,50 @@ protected CloudSchedulerFutureStub build( } /** + * + * *
      * Lists jobs.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listJobs( - com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.scheduler.v1beta1.ListJobsResponse> + listJobs(com.google.cloud.scheduler.v1beta1.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** + * + * *
      * Gets a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.scheduler.v1beta1.GetJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.scheduler.v1beta1.Job> + getJob(com.google.cloud.scheduler.v1beta1.GetJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetJobMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a job.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createJob( - com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.scheduler.v1beta1.Job> + createJob(com.google.cloud.scheduler.v1beta1.CreateJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); } /** + * + * *
      * Updates a job.
      * If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is returned. If the job does
@@ -780,13 +986,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updateJob(
-        com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.scheduler.v1beta1.Job>
+        updateJob(com.google.cloud.scheduler.v1beta1.UpdateJobRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Deletes a job.
      * 
@@ -798,6 +1007,8 @@ public com.google.common.util.concurrent.ListenableFuture * Pauses a job. * If a job is paused then the system will stop executing the job @@ -807,13 +1018,16 @@ public com.google.common.util.concurrent.ListenableFuture */ - public com.google.common.util.concurrent.ListenableFuture pauseJob( - com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.scheduler.v1beta1.Job> + pauseJob(com.google.cloud.scheduler.v1beta1.PauseJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPauseJobMethod(), getCallOptions()), request); } /** + * + * *
      * Resume a job.
      * This method reenables a job after it has been [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
@@ -822,21 +1036,25 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture resumeJob(
-        com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.scheduler.v1beta1.Job>
+        resumeJob(com.google.cloud.scheduler.v1beta1.ResumeJobRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getResumeJobMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Forces a job to run now.
      * When this method is called, Cloud Scheduler will dispatch the job, even
      * if the job is already running.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture runJob( - com.google.cloud.scheduler.v1beta1.RunJobRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.scheduler.v1beta1.Job> + runJob(com.google.cloud.scheduler.v1beta1.RunJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRunJobMethod(), getCallOptions()), request); } @@ -851,11 +1069,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final CloudSchedulerImplBase serviceImpl; private final int methodId; @@ -869,36 +1087,51 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_JOBS: - serviceImpl.listJobs((com.google.cloud.scheduler.v1beta1.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listJobs( + (com.google.cloud.scheduler.v1beta1.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_JOB: - serviceImpl.getJob((com.google.cloud.scheduler.v1beta1.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getJob( + (com.google.cloud.scheduler.v1beta1.GetJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_CREATE_JOB: - serviceImpl.createJob((com.google.cloud.scheduler.v1beta1.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.createJob( + (com.google.cloud.scheduler.v1beta1.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_UPDATE_JOB: - serviceImpl.updateJob((com.google.cloud.scheduler.v1beta1.UpdateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.updateJob( + (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_DELETE_JOB: - serviceImpl.deleteJob((com.google.cloud.scheduler.v1beta1.DeleteJobRequest) request, + serviceImpl.deleteJob( + (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PAUSE_JOB: - serviceImpl.pauseJob((com.google.cloud.scheduler.v1beta1.PauseJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.pauseJob( + (com.google.cloud.scheduler.v1beta1.PauseJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_RESUME_JOB: - serviceImpl.resumeJob((com.google.cloud.scheduler.v1beta1.ResumeJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.resumeJob( + (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_RUN_JOB: - serviceImpl.runJob((com.google.cloud.scheduler.v1beta1.RunJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.runJob( + (com.google.cloud.scheduler.v1beta1.RunJobRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -916,8 +1149,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class CloudSchedulerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class CloudSchedulerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { CloudSchedulerBaseDescriptorSupplier() {} @java.lang.Override @@ -959,17 +1193,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (CloudSchedulerGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) - .addMethod(getListJobsMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getCreateJobMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getPauseJobMethod()) - .addMethod(getResumeJobMethod()) - .addMethod(getRunJobMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CloudSchedulerFileDescriptorSupplier()) + .addMethod(getListJobsMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getCreateJobMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getPauseJobMethod()) + .addMethod(getResumeJobMethod()) + .addMethod(getRunJobMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java deleted file mode 100644 index 28a8ab20..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface DeleteJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java deleted file mode 100644 index b842392a..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface GetJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java deleted file mode 100644 index 7cb5edbc..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java +++ /dev/null @@ -1,110 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/job.proto - -package com.google.cloud.scheduler.v1; - -public final class JobProto { - private JobProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_Job_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n#google/cloud/scheduler/v1/job.proto\022\031g" + - "oogle.cloud.scheduler.v1\032\031google/api/res" + - "ource.proto\032&google/cloud/scheduler/v1/t" + - "arget.proto\032\036google/protobuf/duration.pr" + - "oto\032\037google/protobuf/timestamp.proto\032\027go" + - "ogle/rpc/status.proto\032\034google/api/annota" + - "tions.proto\"\313\006\n\003Job\022\014\n\004name\030\001 \001(\t\022\023\n\013des" + - "cription\030\002 \001(\t\022@\n\rpubsub_target\030\004 \001(\0132\'." + - "google.cloud.scheduler.v1.PubsubTargetH\000" + - "\022P\n\026app_engine_http_target\030\005 \001(\0132..googl" + - "e.cloud.scheduler.v1.AppEngineHttpTarget" + - "H\000\022<\n\013http_target\030\006 \001(\0132%.google.cloud.s" + - "cheduler.v1.HttpTargetH\000\022\020\n\010schedule\030\024 \001" + - "(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_update_tim" + - "e\030\t \001(\0132\032.google.protobuf.Timestamp\0223\n\005s" + - "tate\030\n \001(\0162$.google.cloud.scheduler.v1.J" + - "ob.State\022\"\n\006status\030\013 \001(\0132\022.google.rpc.St" + - "atus\0221\n\rschedule_time\030\021 \001(\0132\032.google.pro" + - "tobuf.Timestamp\0225\n\021last_attempt_time\030\022 \001" + - "(\0132\032.google.protobuf.Timestamp\022<\n\014retry_" + - "config\030\023 \001(\0132&.google.cloud.scheduler.v1" + - ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" + - ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" + - "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" + - "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" + - "\n!cloudscheduler.googleapis.com/Job\0222pro" + - "jects/{project}/locations/{location}/job" + - "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" + - "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" + - "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" + - "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" + - "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" + - "oogle.protobuf.Duration\022\025\n\rmax_doublings" + - "\030\005 \001(\005Bo\n\035com.google.cloud.scheduler.v1B" + - "\010JobProtoP\001ZBgoogle.golang.org/genproto/" + - "googleapis/cloud/scheduler/v1;schedulerb" + - "\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_Job_descriptor, - new java.lang.String[] { "Name", "Description", "PubsubTarget", "AppEngineHttpTarget", "HttpTarget", "Schedule", "TimeZone", "UserUpdateTime", "State", "Status", "ScheduleTime", "LastAttemptTime", "RetryConfig", "AttemptDeadline", "Target", }); - internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor, - new java.lang.String[] { "RetryCount", "MaxRetryDuration", "MinBackoffDuration", "MaxBackoffDuration", "MaxDoublings", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java deleted file mode 100644 index 981afd3c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface PauseJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.PauseJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java deleted file mode 100644 index 0848813a..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface ResumeJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ResumeJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java deleted file mode 100644 index 877c0b01..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public interface RunJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.RunJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java deleted file mode 100644 index 0f88e2f8..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java +++ /dev/null @@ -1,223 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1; - -public final class SchedulerProto { - private SchedulerProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/cloud/scheduler/v1/cloudschedul" + - "er.proto\022\031google.cloud.scheduler.v1\032\034goo" + - "gle/api/annotations.proto\032\027google/api/cl" + - "ient.proto\032\037google/api/field_behavior.pr" + - "oto\032\031google/api/resource.proto\032#google/c" + - "loud/scheduler/v1/job.proto\032\033google/prot" + - "obuf/empty.proto\032 google/protobuf/field_" + - "mask.proto\"s\n\017ListJobsRequest\0229\n\006parent\030" + - "\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googleapis" + - ".com/Job\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_toke" + - "n\030\006 \001(\t\"Y\n\020ListJobsResponse\022,\n\004jobs\030\001 \003(" + - "\0132\036.google.cloud.scheduler.v1.Job\022\027\n\017nex" + - "t_page_token\030\002 \001(\t\"H\n\rGetJobRequest\0227\n\004n" + - "ame\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.google" + - "apis.com/Job\"\177\n\020CreateJobRequest\0229\n\006pare" + - "nt\030\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googlea" + - "pis.com/Job\0220\n\003job\030\002 \001(\0132\036.google.cloud." + - "scheduler.v1.JobB\003\340A\002\"z\n\020UpdateJobReques" + - "t\0220\n\003job\030\001 \001(\0132\036.google.cloud.scheduler." + - "v1.JobB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl" + - "e.protobuf.FieldMaskB\003\340A\002\"K\n\020DeleteJobRe" + - "quest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudschedu" + - "ler.googleapis.com/Job\"J\n\017PauseJobReques" + - "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler." + - "googleapis.com/Job\"K\n\020ResumeJobRequest\0227" + - "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.goo" + - "gleapis.com/Job\"H\n\rRunJobRequest\0227\n\004name" + - "\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapi" + - "s.com/Job2\263\n\n\016CloudScheduler\022\236\001\n\010ListJob" + - "s\022*.google.cloud.scheduler.v1.ListJobsRe" + - "quest\032+.google.cloud.scheduler.v1.ListJo" + - "bsResponse\"9\202\323\344\223\002*\022(/v1/{parent=projects" + - "/*/locations/*}/jobs\332A\006parent\022\213\001\n\006GetJob" + - "\022(.google.cloud.scheduler.v1.GetJobReque" + - "st\032\036.google.cloud.scheduler.v1.Job\"7\202\323\344\223" + - "\002*\022(/v1/{name=projects/*/locations/*/job" + - "s/*}\332A\004name\022\234\001\n\tCreateJob\022+.google.cloud" + - ".scheduler.v1.CreateJobRequest\032\036.google." + - "cloud.scheduler.v1.Job\"B\202\323\344\223\002/\"(/v1/{par" + - "ent=projects/*/locations/*}/jobs:\003job\332A\n" + - "parent,job\022\245\001\n\tUpdateJob\022+.google.cloud." + - "scheduler.v1.UpdateJobRequest\032\036.google.c" + - "loud.scheduler.v1.Job\"K\202\323\344\223\00232,/v1/{job." + - "name=projects/*/locations/*/jobs/*}:\003job" + - "\332A\017job,update_mask\022\211\001\n\tDeleteJob\022+.googl" + - "e.cloud.scheduler.v1.DeleteJobRequest\032\026." + - "google.protobuf.Empty\"7\202\323\344\223\002**(/v1/{name" + - "=projects/*/locations/*/jobs/*}\332A\004name\022\230" + - "\001\n\010PauseJob\022*.google.cloud.scheduler.v1." + - "PauseJobRequest\032\036.google.cloud.scheduler" + - ".v1.Job\"@\202\323\344\223\0023\"./v1/{name=projects/*/lo" + - "cations/*/jobs/*}:pause:\001*\332A\004name\022\233\001\n\tRe" + - "sumeJob\022+.google.cloud.scheduler.v1.Resu" + - "meJobRequest\032\036.google.cloud.scheduler.v1" + - ".Job\"A\202\323\344\223\0024\"//v1/{name=projects/*/locat" + - "ions/*/jobs/*}:resume:\001*\332A\004name\022\222\001\n\006RunJ" + - "ob\022(.google.cloud.scheduler.v1.RunJobReq" + - "uest\032\036.google.cloud.scheduler.v1.Job\">\202\323" + - "\344\223\0021\",/v1/{name=projects/*/locations/*/j" + - "obs/*}:run:\001*\332A\004name\032Q\312A\035cloudscheduler." + - "googleapis.com\322A.https://www.googleapis." + - "com/auth/cloud-platformB\201\001\n\035com.google.c" + - "loud.scheduler.v1B\016SchedulerProtoP\001ZBgoo" + - "gle.golang.org/genproto/googleapis/cloud" + - "/scheduler/v1;scheduler\242\002\tSCHEDULERb\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1.JobProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor, - new java.lang.String[] { "Jobs", "NextPageToken", }); - internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor, - new java.lang.String[] { "Parent", "Job", }); - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor, - new java.lang.String[] { "Job", "UpdateMask", }); - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1.JobProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java b/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java deleted file mode 100644 index c9d29009..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java +++ /dev/null @@ -1,182 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1/target.proto - -package com.google.cloud.scheduler.v1; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n&google/cloud/scheduler/v1/target.proto" + - "\022\031google.cloud.scheduler.v1\032\031google/api/" + - "resource.proto\032\034google/api/annotations.p" + - "roto\"\352\002\n\nHttpTarget\022\013\n\003uri\030\001 \001(\t\022:\n\013http" + - "_method\030\002 \001(\0162%.google.cloud.scheduler.v" + - "1.HttpMethod\022C\n\007headers\030\003 \003(\01322.google.c" + - "loud.scheduler.v1.HttpTarget.HeadersEntr" + - "y\022\014\n\004body\030\004 \001(\014\022<\n\013oauth_token\030\005 \001(\0132%.g" + - "oogle.cloud.scheduler.v1.OAuthTokenH\000\022:\n" + - "\noidc_token\030\006 \001(\0132$.google.cloud.schedul" + - "er.v1.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizati" + - "on_header\"\274\002\n\023AppEngineHttpTarget\022:\n\013htt" + - "p_method\030\001 \001(\0162%.google.cloud.scheduler." + - "v1.HttpMethod\022G\n\022app_engine_routing\030\002 \001(" + - "\0132+.google.cloud.scheduler.v1.AppEngineR" + - "outing\022\024\n\014relative_uri\030\003 \001(\t\022L\n\007headers\030" + - "\004 \003(\0132;.google.cloud.scheduler.v1.AppEng" + - "ineHttpTarget.HeadersEntry\022\014\n\004body\030\005 \001(\014" + - "\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + - " \001(\t:\0028\001\"\322\001\n\014PubsubTarget\0224\n\ntopic_name\030" + - "\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022" + - "\014\n\004data\030\003 \001(\014\022K\n\nattributes\030\004 \003(\01327.goog" + - "le.cloud.scheduler.v1.PubsubTarget.Attri" + - "butesEntry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001" + - "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRoutin" + - "g\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020\n\010i" + - "nstance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthToke" + - "n\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005scop" + - "e\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_account_" + - "email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttpMet" + - "hod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004POST" + - "\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE" + - "\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\265\001\n\035com.googl" + - "e.cloud.scheduler.v1B\013TargetProtoP\001ZBgoo" + - "gle.golang.org/genproto/googleapis/cloud" + - "/scheduler/v1;scheduler\352A@\n\033pubsub.googl" + - "eapis.com/Topic\022!projects/{project}/topi" + - "cs/{topic}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor, - new java.lang.String[] { "Uri", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor, - new java.lang.String[] { "TopicName", "Data", "Attributes", }); - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor = - internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_scheduler_v1_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java deleted file mode 100644 index c579f032..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface DeleteJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.DeleteJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java deleted file mode 100644 index 9d906ed8..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface GetJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java deleted file mode 100644 index 1f401923..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java +++ /dev/null @@ -1,111 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/job.proto - -package com.google.cloud.scheduler.v1beta1; - -public final class JobProto { - private JobProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_Job_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n(google/cloud/scheduler/v1beta1/job.pro" + - "to\022\036google.cloud.scheduler.v1beta1\032\031goog" + - "le/api/resource.proto\032+google/cloud/sche" + - "duler/v1beta1/target.proto\032\036google/proto" + - "buf/duration.proto\032\037google/protobuf/time" + - "stamp.proto\032\027google/rpc/status.proto\032\034go" + - "ogle/api/annotations.proto\"\344\006\n\003Job\022\014\n\004na" + - "me\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022E\n\rpubsub_" + - "target\030\004 \001(\0132,.google.cloud.scheduler.v1" + - "beta1.PubsubTargetH\000\022U\n\026app_engine_http_" + - "target\030\005 \001(\01323.google.cloud.scheduler.v1" + - "beta1.AppEngineHttpTargetH\000\022A\n\013http_targ" + - "et\030\006 \001(\0132*.google.cloud.scheduler.v1beta" + - "1.HttpTargetH\000\022\020\n\010schedule\030\024 \001(\t\022\021\n\ttime" + - "_zone\030\025 \001(\t\0224\n\020user_update_time\030\t \001(\0132\032." + - "google.protobuf.Timestamp\0228\n\005state\030\n \001(\016" + - "2).google.cloud.scheduler.v1beta1.Job.St" + - "ate\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022" + - "1\n\rschedule_time\030\021 \001(\0132\032.google.protobuf" + - ".Timestamp\0225\n\021last_attempt_time\030\022 \001(\0132\032." + - "google.protobuf.Timestamp\022A\n\014retry_confi" + - "g\030\023 \001(\0132+.google.cloud.scheduler.v1beta1" + - ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031" + - ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST" + - "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED" + - "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW" + - "\n!cloudscheduler.googleapis.com/Job\0222pro" + - "jects/{project}/locations/{location}/job" + - "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret" + - "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001" + - "(\0132\031.google.protobuf.Duration\0227\n\024min_bac" + - "koff_duration\030\003 \001(\0132\031.google.protobuf.Du" + - "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g" + - "oogle.protobuf.Duration\022\025\n\rmax_doublings" + - "\030\005 \001(\005By\n\"com.google.cloud.scheduler.v1b" + - "eta1B\010JobProtoP\001ZGgoogle.golang.org/genp" + - "roto/googleapis/cloud/scheduler/v1beta1;" + - "schedulerb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1beta1_Job_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_Job_descriptor, - new java.lang.String[] { "Name", "Description", "PubsubTarget", "AppEngineHttpTarget", "HttpTarget", "Schedule", "TimeZone", "UserUpdateTime", "State", "Status", "ScheduleTime", "LastAttemptTime", "RetryConfig", "AttemptDeadline", "Target", }); - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor, - new java.lang.String[] { "RetryCount", "MaxRetryDuration", "MinBackoffDuration", "MaxBackoffDuration", "MaxDoublings", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java deleted file mode 100644 index 58086c60..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface PauseJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.PauseJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java deleted file mode 100644 index 58ab2445..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface ResumeJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ResumeJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java deleted file mode 100644 index a90e11bc..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public interface RunJobRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.RunJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The job name. For example:
-   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java deleted file mode 100644 index 49ab14b8..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java +++ /dev/null @@ -1,226 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto - -package com.google.cloud.scheduler.v1beta1; - -public final class SchedulerProto { - private SchedulerProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/cloud/scheduler/v1beta1/cloudsc" + - "heduler.proto\022\036google.cloud.scheduler.v1" + - "beta1\032\034google/api/annotations.proto\032\027goo" + - "gle/api/client.proto\032\037google/api/field_b" + - "ehavior.proto\032\031google/api/resource.proto" + - "\032(google/cloud/scheduler/v1beta1/job.pro" + - "to\032\033google/protobuf/empty.proto\032 google/" + - "protobuf/field_mask.proto\"s\n\017ListJobsReq" + - "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!cloudsched" + - "uler.googleapis.com/Job\022\021\n\tpage_size\030\005 \001" + - "(\005\022\022\n\npage_token\030\006 \001(\t\"^\n\020ListJobsRespon" + - "se\0221\n\004jobs\030\001 \003(\0132#.google.cloud.schedule" + - "r.v1beta1.Job\022\027\n\017next_page_token\030\002 \001(\t\"H" + - "\n\rGetJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!c" + - "loudscheduler.googleapis.com/Job\"\204\001\n\020Cre" + - "ateJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!c" + - "loudscheduler.googleapis.com/Job\0225\n\003job\030" + - "\002 \001(\0132#.google.cloud.scheduler.v1beta1.J" + - "obB\003\340A\002\"z\n\020UpdateJobRequest\0225\n\003job\030\001 \001(\013" + - "2#.google.cloud.scheduler.v1beta1.JobB\003\340" + - "A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobu" + - "f.FieldMask\"K\n\020DeleteJobRequest\0227\n\004name\030" + - "\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapis" + - ".com/Job\"J\n\017PauseJobRequest\0227\n\004name\030\001 \001(" + - "\tB)\340A\002\372A#\n!cloudscheduler.googleapis.com" + - "/Job\"K\n\020ResumeJobRequest\0227\n\004name\030\001 \001(\tB)" + - "\340A\002\372A#\n!cloudscheduler.googleapis.com/Jo" + - "b\"H\n\rRunJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + - "\n!cloudscheduler.googleapis.com/Job2\246\013\n\016" + - "CloudScheduler\022\255\001\n\010ListJobs\022/.google.clo" + - "ud.scheduler.v1beta1.ListJobsRequest\0320.g" + - "oogle.cloud.scheduler.v1beta1.ListJobsRe" + - "sponse\">\202\323\344\223\002/\022-/v1beta1/{parent=project" + - "s/*/locations/*}/jobs\332A\006parent\022\232\001\n\006GetJo" + - "b\022-.google.cloud.scheduler.v1beta1.GetJo" + - "bRequest\032#.google.cloud.scheduler.v1beta" + - "1.Job\"<\202\323\344\223\002/\022-/v1beta1/{name=projects/*" + - "/locations/*/jobs/*}\332A\004name\022\253\001\n\tCreateJo" + - "b\0220.google.cloud.scheduler.v1beta1.Creat" + - "eJobRequest\032#.google.cloud.scheduler.v1b" + - "eta1.Job\"G\202\323\344\223\0024\"-/v1beta1/{parent=proje" + - "cts/*/locations/*}/jobs:\003job\332A\nparent,jo" + - "b\022\264\001\n\tUpdateJob\0220.google.cloud.scheduler" + - ".v1beta1.UpdateJobRequest\032#.google.cloud" + - ".scheduler.v1beta1.Job\"P\202\323\344\223\002821/v1beta1" + - "/{job.name=projects/*/locations/*/jobs/*" + - "}:\003job\332A\017job,update_mask\022\223\001\n\tDeleteJob\0220" + - ".google.cloud.scheduler.v1beta1.DeleteJo" + - "bRequest\032\026.google.protobuf.Empty\"<\202\323\344\223\002/" + - "*-/v1beta1/{name=projects/*/locations/*/" + - "jobs/*}\332A\004name\022\247\001\n\010PauseJob\022/.google.clo" + - "ud.scheduler.v1beta1.PauseJobRequest\032#.g" + - "oogle.cloud.scheduler.v1beta1.Job\"E\202\323\344\223\002" + - "8\"3/v1beta1/{name=projects/*/locations/*" + - "/jobs/*}:pause:\001*\332A\004name\022\252\001\n\tResumeJob\0220" + - ".google.cloud.scheduler.v1beta1.ResumeJo" + - "bRequest\032#.google.cloud.scheduler.v1beta" + - "1.Job\"F\202\323\344\223\0029\"4/v1beta1/{name=projects/*" + - "/locations/*/jobs/*}:resume:\001*\332A\004name\022\241\001" + - "\n\006RunJob\022-.google.cloud.scheduler.v1beta" + - "1.RunJobRequest\032#.google.cloud.scheduler" + - ".v1beta1.Job\"C\202\323\344\223\0026\"1/v1beta1/{name=pro" + - "jects/*/locations/*/jobs/*}:run:\001*\332A\004nam" + - "e\032Q\312A\035cloudscheduler.googleapis.com\322A.ht" + - "tps://www.googleapis.com/auth/cloud-plat" + - "formB\213\001\n\"com.google.cloud.scheduler.v1be" + - "ta1B\016SchedulerProtoP\001ZGgoogle.golang.org" + - "/genproto/googleapis/cloud/scheduler/v1b" + - "eta1;scheduler\242\002\tSCHEDULERb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor, - new java.lang.String[] { "Jobs", "NextPageToken", }); - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor, - new java.lang.String[] { "Parent", "Job", }); - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor, - new java.lang.String[] { "Job", "UpdateMask", }); - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java deleted file mode 100644 index 31a4b176..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java +++ /dev/null @@ -1,183 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/scheduler/v1beta1/target.proto - -package com.google.cloud.scheduler.v1beta1; - -public final class TargetProto { - private TargetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n+google/cloud/scheduler/v1beta1/target." + - "proto\022\036google.cloud.scheduler.v1beta1\032\031g" + - "oogle/api/resource.proto\032\034google/api/ann" + - "otations.proto\"\376\002\n\nHttpTarget\022\013\n\003uri\030\001 \001" + - "(\t\022?\n\013http_method\030\002 \001(\0162*.google.cloud.s" + - "cheduler.v1beta1.HttpMethod\022H\n\007headers\030\003" + - " \003(\01327.google.cloud.scheduler.v1beta1.Ht" + - "tpTarget.HeadersEntry\022\014\n\004body\030\004 \001(\014\022A\n\013o" + - "auth_token\030\005 \001(\0132*.google.cloud.schedule" + - "r.v1beta1.OAuthTokenH\000\022?\n\noidc_token\030\006 \001" + - "(\0132).google.cloud.scheduler.v1beta1.Oidc" + - "TokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"" + - "\313\002\n\023AppEngineHttpTarget\022?\n\013http_method\030\001" + - " \001(\0162*.google.cloud.scheduler.v1beta1.Ht" + - "tpMethod\022L\n\022app_engine_routing\030\002 \001(\01320.g" + - "oogle.cloud.scheduler.v1beta1.AppEngineR" + - "outing\022\024\n\014relative_uri\030\003 \001(\t\022Q\n\007headers\030" + - "\004 \003(\0132@.google.cloud.scheduler.v1beta1.A" + - "ppEngineHttpTarget.HeadersEntry\022\014\n\004body\030" + - "\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001\"\327\001\n\014PubsubTarget\0224\n\ntopic_" + - "name\030\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/T" + - "opic\022\014\n\004data\030\003 \001(\014\022P\n\nattributes\030\004 \003(\0132<" + - ".google.cloud.scheduler.v1beta1.PubsubTa" + - "rget.AttributesEntry\0321\n\017AttributesEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + - "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + - "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n" + - "\nOAuthToken\022\035\n\025service_account_email\030\001 \001" + - "(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025servic" + - "e_account_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*" + - "s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED" + - "\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004" + - "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\277\001\n" + - "\"com.google.cloud.scheduler.v1beta1B\013Tar" + - "getProtoP\001ZGgoogle.golang.org/genproto/g" + - "oogleapis/cloud/scheduler/v1beta1;schedu" + - "ler\352A@\n\033pubsub.googleapis.com/Topic\022!pro" + - "jects/{project}/topics/{topic}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor, - new java.lang.String[] { "Uri", "HttpMethod", "Headers", "Body", "OauthToken", "OidcToken", "AuthorizationHeader", }); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor, - new java.lang.String[] { "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", }); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor = - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor, - new java.lang.String[] { "TopicName", "Data", "Attributes", }); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor = - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor, - new java.lang.String[] { "Service", "Version", "Instance", "Host", }); - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Scope", }); - internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor, - new java.lang.String[] { "ServiceAccountEmail", "Audience", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java index c54e47fd..a30f2708 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * App Engine target. The job will be pushed to a job handler by means
  * of an HTTP request via an [http_method][google.cloud.scheduler.v1.AppEngineHttpTarget.http_method] such
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpTarget() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -35,16 +53,15 @@ private AppEngineHttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -64,56 +81,62 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.scheduler.v1.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.scheduler.v1.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.scheduler.v1.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1.AppEngineRouting.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,75 +144,88 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1.AppEngineHttpTarget.class,
+            com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = + com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1.AppEngineRouting appEngineRouting_; /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -197,18 +233,25 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * App Engine Routing setting for the job.
    * 
@@ -223,6 +266,8 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti public static final int RELATIVE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object relativeUri_; /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -232,6 +277,7 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -240,14 +286,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -257,16 +304,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -275,24 +321,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.scheduler.v1.TargetProto + .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -301,6 +346,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -330,22 +377,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -376,11 +423,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -411,16 +459,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -451,12 +499,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -466,6 +513,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -474,6 +523,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -482,6 +532,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -493,9 +544,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -504,12 +555,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -522,30 +569,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -555,25 +600,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.AppEngineHttpTarget)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.AppEngineHttpTarget other = (com.google.cloud.scheduler.v1.AppEngineHttpTarget) obj; + com.google.cloud.scheduler.v1.AppEngineHttpTarget other = + (com.google.cloud.scheduler.v1.AppEngineHttpTarget) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -605,96 +647,103 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.AppEngineHttpTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.AppEngineHttpTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine target. The job will be pushed to a job handler by means
    * of an HTTP request via an [http_method][google.cloud.scheduler.v1.AppEngineHttpTarget.http_method] such
@@ -709,43 +758,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.AppEngineHttpTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.AppEngineHttpTarget)
       com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1.AppEngineHttpTarget.class,
+              com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.AppEngineHttpTarget.newBuilder()
@@ -753,16 +802,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -783,9 +831,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -804,7 +852,8 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1.AppEngineHttpTarget result = new com.google.cloud.scheduler.v1.AppEngineHttpTarget(this);
+      com.google.cloud.scheduler.v1.AppEngineHttpTarget result =
+          new com.google.cloud.scheduler.v1.AppEngineHttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -824,38 +873,39 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -863,7 +913,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance()) return this;
+      if (other == com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -874,8 +925,7 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.AppEngineHttpTarget other
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -898,7 +948,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.scheduler.v1.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.scheduler.v1.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -907,59 +958,74 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = + com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -967,22 +1033,25 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -990,34 +1059,47 @@ public Builder clearHttpMethod() { private com.google.cloud.scheduler.v1.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineRouting, com.google.cloud.scheduler.v1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.scheduler.v1.AppEngineRouting, + com.google.cloud.scheduler.v1.AppEngineRouting.Builder, + com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1038,6 +1120,8 @@ public Builder setAppEngineRouting(com.google.cloud.scheduler.v1.AppEngineRoutin return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1056,6 +1140,8 @@ public Builder setAppEngineRouting( return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1066,7 +1152,9 @@ public Builder mergeAppEngineRouting(com.google.cloud.scheduler.v1.AppEngineRout if (appEngineRoutingBuilder_ == null) { if (appEngineRouting_ != null) { appEngineRouting_ = - com.google.cloud.scheduler.v1.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial(); + com.google.cloud.scheduler.v1.AppEngineRouting.newBuilder(appEngineRouting_) + .mergeFrom(value) + .buildPartial(); } else { appEngineRouting_ = value; } @@ -1078,6 +1166,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.scheduler.v1.AppEngineRout return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1096,6 +1186,8 @@ public Builder clearAppEngineRouting() { return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1103,11 +1195,13 @@ public Builder clearAppEngineRouting() { * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; */ public com.google.cloud.scheduler.v1.AppEngineRouting.Builder getAppEngineRoutingBuilder() { - + onChanged(); return getAppEngineRoutingFieldBuilder().getBuilder(); } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1118,11 +1212,14 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti if (appEngineRoutingBuilder_ != null) { return appEngineRoutingBuilder_.getMessageOrBuilder(); } else { - return appEngineRouting_ == null ? - com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.scheduler.v1.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1130,14 +1227,17 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineRouting, com.google.cloud.scheduler.v1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> + com.google.cloud.scheduler.v1.AppEngineRouting, + com.google.cloud.scheduler.v1.AppEngineRouting.Builder, + com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder> getAppEngineRoutingFieldBuilder() { if (appEngineRoutingBuilder_ == null) { - appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineRouting, com.google.cloud.scheduler.v1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder>( - getAppEngineRouting(), - getParentForChildren(), - isClean()); + appEngineRoutingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.AppEngineRouting, + com.google.cloud.scheduler.v1.AppEngineRouting.Builder, + com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder>( + getAppEngineRouting(), getParentForChildren(), isClean()); appEngineRouting_ = null; } return appEngineRoutingBuilder_; @@ -1145,6 +1245,8 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti private java.lang.Object relativeUri_ = ""; /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1154,13 +1256,13 @@ public com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRouti
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1169,6 +1271,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1178,15 +1282,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1194,6 +1297,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1203,20 +1308,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1226,15 +1333,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1244,37 +1354,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1286,6 +1395,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1315,22 +1426,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1361,11 +1472,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1396,16 +1508,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1436,12 +1549,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1449,11 +1561,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1483,23 +1596,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1529,19 +1640,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1571,16 +1683,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1589,6 +1700,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1596,6 +1708,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1604,19 +1718,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1625,17 +1742,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1645,12 +1763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.AppEngineHttpTarget) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.AppEngineHttpTarget) private static final com.google.cloud.scheduler.v1.AppEngineHttpTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.AppEngineHttpTarget(); } @@ -1659,16 +1777,16 @@ public static com.google.cloud.scheduler.v1.AppEngineHttpTarget getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1683,6 +1801,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.AppEngineHttpTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java similarity index 89% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java index dc88efab..25d4a933 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineHttpTargetOrBuilder.java @@ -1,52 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface AppEngineHttpTargetOrBuilder extends +public interface AppEngineHttpTargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.AppEngineHttpTarget) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.scheduler.v1.HttpMethod getHttpMethod(); /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.scheduler.v1.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * App Engine Routing setting for the job.
    * 
@@ -56,6 +86,8 @@ public interface AppEngineHttpTargetOrBuilder extends com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder(); /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -65,10 +97,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -78,12 +113,14 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -115,6 +152,8 @@ public interface AppEngineHttpTargetOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -144,15 +183,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -182,9 +219,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -216,11 +254,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -250,11 +290,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -263,6 +303,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java similarity index 84% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java index b4bb448b..c56abcc5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * App Engine Routing.
  * For more information about services, versions, and instances see
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -37,16 +55,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -65,37 +82,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -103,29 +124,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.AppEngineRouting.class, com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
+            com.google.cloud.scheduler.v1.AppEngineRouting.class,
+            com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the job is sent to the service which is the default
@@ -133,6 +158,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -141,14 +167,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -156,16 +183,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -176,6 +202,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -183,6 +211,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -191,14 +220,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -206,16 +236,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -226,6 +255,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -241,6 +272,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -249,14 +281,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -272,16 +305,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -292,6 +324,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -337,6 +371,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -345,14 +380,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -398,16 +434,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -416,6 +451,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,8 +463,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -470,21 +505,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.AppEngineRouting other = (com.google.cloud.scheduler.v1.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.scheduler.v1.AppEngineRouting other = + (com.google.cloud.scheduler.v1.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -509,97 +541,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * For more information about services, versions, and instances see
@@ -615,21 +654,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.AppEngineRouting)
       com.google.cloud.scheduler.v1.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.AppEngineRouting.class, com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
+              com.google.cloud.scheduler.v1.AppEngineRouting.class,
+              com.google.cloud.scheduler.v1.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.AppEngineRouting.newBuilder()
@@ -637,16 +678,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -662,9 +702,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -683,7 +723,8 @@ public com.google.cloud.scheduler.v1.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.AppEngineRouting buildPartial() {
-      com.google.cloud.scheduler.v1.AppEngineRouting result = new com.google.cloud.scheduler.v1.AppEngineRouting(this);
+      com.google.cloud.scheduler.v1.AppEngineRouting result =
+          new com.google.cloud.scheduler.v1.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -696,38 +737,39 @@ public com.google.cloud.scheduler.v1.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -783,6 +825,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the job is sent to the service which is the default
@@ -790,13 +834,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -805,6 +849,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -812,15 +858,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -828,6 +873,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -835,20 +882,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -856,15 +905,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -872,16 +924,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -889,6 +941,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -896,13 +950,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -911,6 +965,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -918,15 +974,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -934,6 +989,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -941,20 +998,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -962,15 +1021,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -978,16 +1040,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -995,6 +1057,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1010,13 +1074,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1025,6 +1089,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1040,15 +1106,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1056,6 +1121,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1071,20 +1138,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1100,15 +1169,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1124,16 +1196,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1141,6 +1213,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1186,13 +1260,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1201,6 +1275,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1246,15 +1322,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1262,6 +1337,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1307,20 +1384,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1366,15 +1445,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1420,23 +1502,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1446,12 +1528,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.AppEngineRouting) private static final com.google.cloud.scheduler.v1.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.AppEngineRouting(); } @@ -1460,16 +1542,16 @@ public static com.google.cloud.scheduler.v1.AppEngineRouting getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1484,6 +1566,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java similarity index 90% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java index da4e14bd..3126f4da 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -15,10 +33,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -26,12 +47,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -39,10 +62,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -50,12 +76,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -71,10 +99,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -90,12 +121,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -141,10 +174,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -190,8 +226,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java index 86ff7b18..08039de4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Request message for [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.CreateJobRequest} */ -public final class CreateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.CreateJobRequest) CreateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private CreateJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); + parent_ = s; + break; } - job_ = input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); + } + job_ = + input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,42 @@ private CreateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.CreateJobRequest.class, com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.CreateJobRequest.class, + com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -123,30 +150,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,6 +186,8 @@ public java.lang.String getParent() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1.Job job_; /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -166,6 +197,7 @@ public java.lang.String getParent() {
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ @java.lang.Override @@ -173,6 +205,8 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -182,6 +216,7 @@ public boolean hasJob() {
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ @java.lang.Override @@ -189,6 +224,8 @@ public com.google.cloud.scheduler.v1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -205,6 +242,7 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -216,8 +254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -237,8 +274,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (job_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getJob());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -248,19 +284,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.CreateJobRequest)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1.CreateJobRequest other = (com.google.cloud.scheduler.v1.CreateJobRequest) obj;
+    com.google.cloud.scheduler.v1.CreateJobRequest other =
+        (com.google.cloud.scheduler.v1.CreateJobRequest) obj;
 
-    if (!getParent()
-        .equals(other.getParent())) return false;
+    if (!getParent().equals(other.getParent())) return false;
     if (hasJob() != other.hasJob()) return false;
     if (hasJob()) {
-      if (!getJob()
-          .equals(other.getJob())) return false;
+      if (!getJob().equals(other.getJob())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -284,118 +319,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.scheduler.v1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.scheduler.v1.CreateJobRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.CreateJobRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.scheduler.v1.CreateJobRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Request message for [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.CreateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.CreateJobRequest) com.google.cloud.scheduler.v1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.CreateJobRequest.class, com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.CreateJobRequest.class, + com.google.cloud.scheduler.v1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.CreateJobRequest.newBuilder() @@ -403,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; } @java.lang.Override @@ -449,7 +492,8 @@ public com.google.cloud.scheduler.v1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.CreateJobRequest buildPartial() { - com.google.cloud.scheduler.v1.CreateJobRequest result = new com.google.cloud.scheduler.v1.CreateJobRequest(this); + com.google.cloud.scheduler.v1.CreateJobRequest result = + new com.google.cloud.scheduler.v1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -464,38 +508,39 @@ public com.google.cloud.scheduler.v1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.CreateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.CreateJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1.CreateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -542,19 +587,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,21 +612,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,57 +637,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -643,8 +708,13 @@ public Builder setParentBytes( private com.google.cloud.scheduler.v1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> jobBuilder_; + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -653,13 +723,17 @@ public Builder setParentBytes(
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -668,7 +742,9 @@ public boolean hasJob() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.scheduler.v1.Job getJob() { @@ -679,6 +755,8 @@ public com.google.cloud.scheduler.v1.Job getJob() { } } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -687,7 +765,8 @@ public com.google.cloud.scheduler.v1.Job getJob() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { @@ -703,6 +782,8 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -711,10 +792,10 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job value) {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -725,6 +806,8 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -733,13 +816,13 @@ public Builder setJob(
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -751,6 +834,8 @@ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -759,7 +844,8 @@ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -773,6 +859,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -781,14 +869,17 @@ public Builder clearJob() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -797,17 +888,19 @@ public com.google.cloud.scheduler.v1.Job.Builder getJobBuilder() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -816,24 +909,28 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() {
      * ([name][google.cloud.scheduler.v1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -843,12 +940,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.CreateJobRequest) private static final com.google.cloud.scheduler.v1.CreateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.CreateJobRequest(); } @@ -857,16 +954,16 @@ public static com.google.cloud.scheduler.v1.CreateJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -881,6 +978,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java index b3055b13..cd4cebc9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/CreateJobRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface CreateJobRequestOrBuilder extends +public interface CreateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -39,10 +66,13 @@ public interface CreateJobRequestOrBuilder extends
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
@@ -52,10 +82,13 @@ public interface CreateJobRequestOrBuilder extends
    * 
* * .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ com.google.cloud.scheduler.v1.Job getJob(); /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1.Job.name]. [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
index 30c63da3..2adb16cc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
+ *
+ *
  * 
  * Request message for deleting a job using
  * [DeleteJob][google.cloud.scheduler.v1.CloudScheduler.DeleteJob].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.DeleteJobRequest}
  */
-public final class DeleteJobRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.DeleteJobRequest)
     DeleteJobRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteJobRequest.newBuilder() to construct.
   private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteJobRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.DeleteJobRequest.class, com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1.DeleteJobRequest.class,
+            com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.DeleteJobRequest other = (com.google.cloud.scheduler.v1.DeleteJobRequest) obj; + com.google.cloud.scheduler.v1.DeleteJobRequest other = + (com.google.cloud.scheduler.v1.DeleteJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for deleting a job using
    * [DeleteJob][google.cloud.scheduler.v1.CloudScheduler.DeleteJob].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.DeleteJobRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.DeleteJobRequest)
       com.google.cloud.scheduler.v1.DeleteJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.DeleteJobRequest.class, com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1.DeleteJobRequest.class,
+              com.google.cloud.scheduler.v1.DeleteJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.DeleteJobRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.scheduler.v1.DeleteJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.DeleteJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1.DeleteJobRequest result = new com.google.cloud.scheduler.v1.DeleteJobRequest(this);
+      com.google.cloud.scheduler.v1.DeleteJobRequest result =
+          new com.google.cloud.scheduler.v1.DeleteJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.scheduler.v1.DeleteJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.DeleteJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1.DeleteJobRequest)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.DeleteJobRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,19 +488,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.DeleteJobRequest) private static final com.google.cloud.scheduler.v1.DeleteJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.DeleteJobRequest(); } @@ -575,16 +632,16 @@ public static com.google.cloud.scheduler.v1.DeleteJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java new file mode 100644 index 00000000..bf15206b --- /dev/null +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/DeleteJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface DeleteJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java index 97b88c0f..2fee8fc9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Request message for [GetJob][google.cloud.scheduler.v1.CloudScheduler.GetJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.GetJobRequest} */ -public final class GetJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.GetJobRequest) GetJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.GetJobRequest.class, com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1.GetJobRequest.class, + com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.GetJobRequest other = (com.google.cloud.scheduler.v1.GetJobRequest) obj; + com.google.cloud.scheduler.v1.GetJobRequest other = + (com.google.cloud.scheduler.v1.GetJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.GetJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [GetJob][google.cloud.scheduler.v1.CloudScheduler.GetJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.GetJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.GetJobRequest) com.google.cloud.scheduler.v1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.GetJobRequest.class, com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1.GetJobRequest.class, + com.google.cloud.scheduler.v1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.GetJobRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.scheduler.v1.GetJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.GetJobRequest buildPartial() { - com.google.cloud.scheduler.v1.GetJobRequest result = new com.google.cloud.scheduler.v1.GetJobRequest(this); + com.google.cloud.scheduler.v1.GetJobRequest result = + new com.google.cloud.scheduler.v1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.scheduler.v1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.GetJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.GetJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1.GetJobRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.GetJobRequest) private static final com.google.cloud.scheduler.v1.GetJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.GetJobRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.scheduler.v1.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java new file mode 100644 index 00000000..d84a0192 --- /dev/null +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/GetJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface GetJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java index aab87d85..b40aa138 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * The HTTP method used to execute the job.
  * 
* * Protobuf enum {@code google.cloud.scheduler.v1.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.scheduler.v1.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.scheduler.v1.HttpMethod) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java index f7ad5afb..5d54f1fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Http target. The job will be pushed to the job handler by means of
  * an HTTP request via an [http_method][google.cloud.scheduler.v1.HttpTarget.http_method] such as HTTP
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.HttpTarget}
  */
-public final class HttpTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.HttpTarget)
     HttpTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpTarget.newBuilder() to construct.
   private HttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpTarget() {
     uri_ = "";
     httpMethod_ = 0;
@@ -32,16 +50,15 @@ private HttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,71 +78,82 @@ private HttpTarget(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            uri_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              uri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.scheduler.v1.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.scheduler.v1.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.scheduler.v1.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.scheduler.v1.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.scheduler.v1.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.scheduler.v1.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_).toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -133,47 +161,51 @@ private HttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.HttpTarget.class, com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1.HttpTarget.class,
+            com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -189,26 +221,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URI_FIELD_NUMBER = 1;
   private volatile java.lang.Object uri_;
   /**
+   *
+   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -219,6 +256,7 @@ public int getNumber() {
    * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -227,14 +265,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -245,16 +284,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -265,49 +303,57 @@ public java.lang.String getUri() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = + com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.scheduler.v1.TargetProto + .internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -316,6 +362,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -335,22 +383,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -371,11 +419,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -396,16 +445,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -426,12 +475,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -441,6 +489,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -448,6 +498,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -457,6 +508,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -467,6 +520,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -474,6 +528,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -484,16 +540,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.scheduler.v1.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_; } return com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -508,13 +567,15 @@ public com.google.cloud.scheduler.v1.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -526,6 +587,7 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -533,6 +595,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -544,16 +608,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.scheduler.v1.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_; } return com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -569,12 +636,13 @@ public com.google.cloud.scheduler.v1.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_;
+      return (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -586,20 +654,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
     }
-    if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_
+        != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -621,31 +685,32 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
     }
-    if (httpMethod_ != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
+    if (httpMethod_
+        != com.google.cloud.scheduler.v1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -655,29 +720,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.HttpTarget)) {
       return super.equals(obj);
     }
     com.google.cloud.scheduler.v1.HttpTarget other = (com.google.cloud.scheduler.v1.HttpTarget) obj;
 
-    if (!getUri()
-        .equals(other.getUri())) return false;
+    if (!getUri().equals(other.getUri())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -720,97 +780,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.scheduler.v1.HttpTarget parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.scheduler.v1.HttpTarget parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.HttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.scheduler.v1.HttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Http target. The job will be pushed to the job handler by means of
    * an HTTP request via an [http_method][google.cloud.scheduler.v1.HttpTarget.http_method] such as HTTP
@@ -822,43 +889,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.HttpTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.HttpTarget)
       com.google.cloud.scheduler.v1.HttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.HttpTarget.class, com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1.HttpTarget.class,
+              com.google.cloud.scheduler.v1.HttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.HttpTarget.newBuilder()
@@ -866,16 +933,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -892,9 +958,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -913,7 +979,8 @@ public com.google.cloud.scheduler.v1.HttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.HttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1.HttpTarget result = new com.google.cloud.scheduler.v1.HttpTarget(this);
+      com.google.cloud.scheduler.v1.HttpTarget result =
+          new com.google.cloud.scheduler.v1.HttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.uri_ = uri_;
       result.httpMethod_ = httpMethod_;
@@ -943,38 +1010,39 @@ public com.google.cloud.scheduler.v1.HttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.HttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1.HttpTarget)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.HttpTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -990,23 +1058,25 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.HttpTarget other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1036,12 +1106,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1055,6 +1125,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object uri_ = "";
     /**
+     *
+     *
      * 
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1065,13 +1137,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1080,6 +1152,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1090,15 +1164,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1106,6 +1179,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1116,20 +1191,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1140,15 +1217,18 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1159,16 +1239,16 @@ public Builder clearUri() {
      * 
* * string uri = 1; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -1176,51 +1256,65 @@ public Builder setUriBytes( private int httpMethod_ = 0; /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.HttpMethod result = com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1.HttpMethod result = + com.google.cloud.scheduler.v1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1228,42 +1322,44 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1.HttpMethod value) { if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1275,6 +1371,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1294,22 +1392,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1330,11 +1428,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1355,16 +1454,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1385,12 +1485,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1398,11 +1497,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1422,23 +1522,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1458,19 +1556,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1490,16 +1589,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1507,6 +1605,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1514,6 +1613,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1521,19 +1622,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1541,18 +1645,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.OAuthToken, com.google.cloud.scheduler.v1.OAuthToken.Builder, com.google.cloud.scheduler.v1.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.scheduler.v1.OAuthToken, + com.google.cloud.scheduler.v1.OAuthToken.Builder, + com.google.cloud.scheduler.v1.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1563,6 +1673,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1570,6 +1681,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1580,6 +1693,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1597,6 +1711,8 @@ public com.google.cloud.scheduler.v1.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1622,6 +1738,8 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1633,8 +1751,7 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
      *
      * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5;
      */
-    public Builder setOauthToken(
-        com.google.cloud.scheduler.v1.OAuthToken.Builder builderForValue) {
+    public Builder setOauthToken(com.google.cloud.scheduler.v1.OAuthToken.Builder builderForValue) {
       if (oauthTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1645,6 +1762,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1658,10 +1777,14 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.scheduler.v1.OAuthToken.newBuilder((com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_
+                != com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.scheduler.v1.OAuthToken.newBuilder(
+                      (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1677,6 +1800,8 @@ public Builder mergeOauthToken(com.google.cloud.scheduler.v1.OAuthToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1705,6 +1830,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1720,6 +1847,8 @@ public com.google.cloud.scheduler.v1.OAuthToken.Builder getOauthTokenBuilder() {
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1743,6 +1872,8 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1755,27 +1886,38 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
      * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.scheduler.v1.OAuthToken, com.google.cloud.scheduler.v1.OAuthToken.Builder, com.google.cloud.scheduler.v1.OAuthTokenOrBuilder> 
+            com.google.cloud.scheduler.v1.OAuthToken,
+            com.google.cloud.scheduler.v1.OAuthToken.Builder,
+            com.google.cloud.scheduler.v1.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1.OAuthToken, com.google.cloud.scheduler.v1.OAuthToken.Builder, com.google.cloud.scheduler.v1.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.scheduler.v1.OAuthToken,
+                com.google.cloud.scheduler.v1.OAuthToken.Builder,
+                com.google.cloud.scheduler.v1.OAuthTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.scheduler.v1.OidcToken, com.google.cloud.scheduler.v1.OidcToken.Builder, com.google.cloud.scheduler.v1.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.scheduler.v1.OidcToken,
+            com.google.cloud.scheduler.v1.OidcToken.Builder,
+            com.google.cloud.scheduler.v1.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1787,6 +1929,7 @@ public com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder(
      * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1794,6 +1937,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1805,6 +1950,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1822,6 +1968,8 @@ public com.google.cloud.scheduler.v1.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1848,6 +1996,8 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1860,8 +2010,7 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
      *
      * .google.cloud.scheduler.v1.OidcToken oidc_token = 6;
      */
-    public Builder setOidcToken(
-        com.google.cloud.scheduler.v1.OidcToken.Builder builderForValue) {
+    public Builder setOidcToken(com.google.cloud.scheduler.v1.OidcToken.Builder builderForValue) {
       if (oidcTokenBuilder_ == null) {
         authorizationHeader_ = builderForValue.build();
         onChanged();
@@ -1872,6 +2021,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1886,10 +2037,14 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.scheduler.v1.OidcToken.newBuilder((com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_
+                != com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.scheduler.v1.OidcToken.newBuilder(
+                      (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1905,6 +2060,8 @@ public Builder mergeOidcToken(com.google.cloud.scheduler.v1.OidcToken value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1934,6 +2091,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1950,6 +2109,8 @@ public com.google.cloud.scheduler.v1.OidcToken.Builder getOidcTokenBuilder() {
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1974,6 +2135,8 @@ public com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1987,26 +2150,32 @@ public com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder()
      * .google.cloud.scheduler.v1.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.scheduler.v1.OidcToken, com.google.cloud.scheduler.v1.OidcToken.Builder, com.google.cloud.scheduler.v1.OidcTokenOrBuilder> 
+            com.google.cloud.scheduler.v1.OidcToken,
+            com.google.cloud.scheduler.v1.OidcToken.Builder,
+            com.google.cloud.scheduler.v1.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1.OidcToken, com.google.cloud.scheduler.v1.OidcToken.Builder, com.google.cloud.scheduler.v1.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.scheduler.v1.OidcToken,
+                com.google.cloud.scheduler.v1.OidcToken.Builder,
+                com.google.cloud.scheduler.v1.OidcTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2016,12 +2185,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.HttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.HttpTarget)
   private static final com.google.cloud.scheduler.v1.HttpTarget DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.HttpTarget();
   }
@@ -2030,16 +2199,16 @@ public static com.google.cloud.scheduler.v1.HttpTarget getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpTarget parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpTarget(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpTarget parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpTarget(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2054,6 +2223,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1.HttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
similarity index 88%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
index e0040b8a..4dabdf0b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/HttpTargetOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/target.proto
 
 package com.google.cloud.scheduler.v1;
 
-public interface HttpTargetOrBuilder extends
+public interface HttpTargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.HttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -18,10 +36,13 @@ public interface HttpTargetOrBuilder extends
    * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -32,31 +53,39 @@ public interface HttpTargetOrBuilder extends
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.scheduler.v1.HttpMethod getHttpMethod(); /** + * + * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -78,6 +107,8 @@ public interface HttpTargetOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -97,15 +128,13 @@ public interface HttpTargetOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -125,9 +154,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -149,11 +179,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -173,11 +205,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -185,11 +217,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -200,10 +235,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -214,10 +252,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.scheduler.v1.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -232,6 +273,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.scheduler.v1.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -243,10 +286,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -258,10 +304,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.scheduler.v1.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -276,5 +325,6 @@ java.lang.String getHeadersOrThrow(
    */
   com.google.cloud.scheduler.v1.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.scheduler.v1.HttpTarget.AuthorizationHeaderCase getAuthorizationHeaderCase();
+  public com.google.cloud.scheduler.v1.HttpTarget.AuthorizationHeaderCase
+      getAuthorizationHeaderCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
index 87628f66..e76ee5f9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/Job.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/job.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
+ *
+ *
  * 
  * Configuration for a job.
  * The maximum allowed size for a job is 100KB.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.Job}
  */
-public final class Job extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Job extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.Job)
     JobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Job() {
     name_ = "";
     description_ = "";
@@ -30,16 +48,15 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Job(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,163 +75,188 @@ private Job(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.cloud.scheduler.v1.PubsubTarget.Builder subBuilder = null;
-            if (targetCase_ == 4) {
-              subBuilder = ((com.google.cloud.scheduler.v1.PubsubTarget) target_).toBuilder();
-            }
-            target_ =
-                input.readMessage(com.google.cloud.scheduler.v1.PubsubTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget) target_);
-              target_ = subBuilder.buildPartial();
-            }
-            targetCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder subBuilder = null;
-            if (targetCase_ == 5) {
-              subBuilder = ((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_).toBuilder();
-            }
-            target_ =
-                input.readMessage(com.google.cloud.scheduler.v1.AppEngineHttpTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
-              target_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
-            targetCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.scheduler.v1.HttpTarget.Builder subBuilder = null;
-            if (targetCase_ == 6) {
-              subBuilder = ((com.google.cloud.scheduler.v1.HttpTarget) target_).toBuilder();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              description_ = s;
+              break;
             }
-            target_ =
-                input.readMessage(com.google.cloud.scheduler.v1.HttpTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1.HttpTarget) target_);
-              target_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.scheduler.v1.PubsubTarget.Builder subBuilder = null;
+              if (targetCase_ == 4) {
+                subBuilder = ((com.google.cloud.scheduler.v1.PubsubTarget) target_).toBuilder();
+              }
+              target_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1.PubsubTarget.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget) target_);
+                target_ = subBuilder.buildPartial();
+              }
+              targetCase_ = 4;
+              break;
             }
-            targetCase_ = 6;
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (userUpdateTime_ != null) {
-              subBuilder = userUpdateTime_.toBuilder();
+          case 42:
+            {
+              com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder subBuilder = null;
+              if (targetCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_).toBuilder();
+              }
+              target_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1.AppEngineHttpTarget.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
+                target_ = subBuilder.buildPartial();
+              }
+              targetCase_ = 5;
+              break;
             }
-            userUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(userUpdateTime_);
-              userUpdateTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.cloud.scheduler.v1.HttpTarget.Builder subBuilder = null;
+              if (targetCase_ == 6) {
+                subBuilder = ((com.google.cloud.scheduler.v1.HttpTarget) target_).toBuilder();
+              }
+              target_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1.HttpTarget.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.scheduler.v1.HttpTarget) target_);
+                target_ = subBuilder.buildPartial();
+              }
+              targetCase_ = 6;
+              break;
             }
+          case 74:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (userUpdateTime_ != null) {
+                subBuilder = userUpdateTime_.toBuilder();
+              }
+              userUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(userUpdateTime_);
+                userUpdateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 80: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 90: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (status_ != null) {
-              subBuilder = status_.toBuilder();
-            }
-            status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(status_);
-              status_ = subBuilder.buildPartial();
+              break;
             }
+          case 80:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 138: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              state_ = rawValue;
+              break;
             }
+          case 90:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (status_ != null) {
+                subBuilder = status_.toBuilder();
+              }
+              status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(status_);
+                status_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 146: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastAttemptTime_ != null) {
-              subBuilder = lastAttemptTime_.toBuilder();
-            }
-            lastAttemptTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastAttemptTime_);
-              lastAttemptTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 138:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 154: {
-            com.google.cloud.scheduler.v1.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
-            }
-            retryConfig_ = input.readMessage(com.google.cloud.scheduler.v1.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+              break;
             }
+          case 146:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastAttemptTime_ != null) {
+                subBuilder = lastAttemptTime_.toBuilder();
+              }
+              lastAttemptTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastAttemptTime_);
+                lastAttemptTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 162: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 154:
+            {
+              com.google.cloud.scheduler.v1.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
 
-            schedule_ = s;
-            break;
-          }
-          case 170: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 162:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            timeZone_ = s;
-            break;
-          }
-          case 178: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (attemptDeadline_ != null) {
-              subBuilder = attemptDeadline_.toBuilder();
+              schedule_ = s;
+              break;
             }
-            attemptDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(attemptDeadline_);
-              attemptDeadline_ = subBuilder.buildPartial();
+          case 170:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              timeZone_ = s;
+              break;
             }
+          case 178:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (attemptDeadline_ != null) {
+                subBuilder = attemptDeadline_.toBuilder();
+              }
+              attemptDeadline_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(attemptDeadline_);
+                attemptDeadline_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -222,36 +264,41 @@ private Job(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.JobProto
+        .internal_static_google_cloud_scheduler_v1_Job_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.JobProto
+        .internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.Job.class, com.google.cloud.scheduler.v1.Job.Builder.class);
+            com.google.cloud.scheduler.v1.Job.class,
+            com.google.cloud.scheduler.v1.Job.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the job.
    * 
* * Protobuf enum {@code google.cloud.scheduler.v1.Job.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -260,6 +307,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The job is executing normally.
      * 
@@ -268,6 +317,8 @@ public enum State */ ENABLED(1), /** + * + * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -278,6 +329,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -287,6 +340,8 @@ public enum State
      */
     DISABLED(3),
     /**
+     *
+     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -300,6 +355,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -308,6 +365,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job is executing normally.
      * 
@@ -316,6 +375,8 @@ public enum State */ public static final int ENABLED_VALUE = 1; /** + * + * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -326,6 +387,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -335,6 +398,8 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -345,7 +410,6 @@ public enum State
      */
     public static final int UPDATE_FAILED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -370,51 +434,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return ENABLED;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        case 4: return UPDATE_FAILED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return ENABLED;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        case 4:
+          return UPDATE_FAILED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.scheduler.v1.Job.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -433,14 +499,17 @@ private State(int value) {
 
   private int targetCase_ = 0;
   private java.lang.Object target_;
+
   public enum TargetCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     PUBSUB_TARGET(4),
     APP_ENGINE_HTTP_TARGET(5),
     HTTP_TARGET(6),
     TARGET_NOT_SET(0);
     private final int value;
+
     private TargetCase(int value) {
       this.value = value;
     }
@@ -456,27 +525,33 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 4: return PUBSUB_TARGET;
-        case 5: return APP_ENGINE_HTTP_TARGET;
-        case 6: return HTTP_TARGET;
-        case 0: return TARGET_NOT_SET;
-        default: return null;
+        case 4:
+          return PUBSUB_TARGET;
+        case 5:
+          return APP_ENGINE_HTTP_TARGET;
+        case 6:
+          return HTTP_TARGET;
+        case 0:
+          return TARGET_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase
-  getTargetCase() {
-    return TargetCase.forNumber(
-        targetCase_);
+  public TargetCase getTargetCase() {
+    return TargetCase.forNumber(targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -496,6 +571,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -504,14 +580,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -531,16 +608,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -551,6 +627,8 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -559,6 +637,7 @@ public java.lang.String getName() {
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -567,14 +646,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -583,16 +663,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -602,11 +681,14 @@ public java.lang.String getDescription() { public static final int PUBSUB_TARGET_FIELD_NUMBER = 4; /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; + * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -614,21 +696,26 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; + * * @return The pubsubTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance(); } /** + * + * *
    * Pub/Sub target.
    * 
@@ -638,18 +725,21 @@ public com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget() { @java.lang.Override public com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuilder() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance(); } public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 5; /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -657,21 +747,26 @@ public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP target.
    * 
@@ -679,20 +774,24 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget( * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder + getAppEngineHttpTargetOrBuilder() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance(); } public static final int HTTP_TARGET_FIELD_NUMBER = 6; /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; + * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -700,21 +799,26 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; + * * @return The httpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1.HttpTarget getHttpTarget() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1.HttpTarget) target_; } return com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance(); } /** + * + * *
    * HTTP target.
    * 
@@ -724,7 +828,7 @@ public com.google.cloud.scheduler.v1.HttpTarget getHttpTarget() { @java.lang.Override public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1.HttpTarget) target_; } return com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance(); } @@ -732,6 +836,8 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder( public static final int SCHEDULE_FIELD_NUMBER = 20; private volatile java.lang.Object schedule_; /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -754,6 +860,7 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder(
    * 
* * string schedule = 20; + * * @return The schedule. */ @java.lang.Override @@ -762,14 +869,15 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -792,16 +900,15 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 20; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -812,6 +919,8 @@ public java.lang.String getSchedule() { public static final int TIME_ZONE_FIELD_NUMBER = 21; private volatile java.lang.Object timeZone_; /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -824,6 +933,7 @@ public java.lang.String getSchedule() {
    * 
* * string time_zone = 21; + * * @return The timeZone. */ @java.lang.Override @@ -832,14 +942,15 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -852,16 +963,15 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 21; + * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -872,11 +982,14 @@ public java.lang.String getTimeZone() { public static final int USER_UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp userUpdateTime_; /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return Whether the userUpdateTime field is set. */ @java.lang.Override @@ -884,18 +997,25 @@ public boolean hasUserUpdateTime() { return userUpdateTime_ != null; } /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return The userUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUserUpdateTime() { - return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; + return userUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : userUpdateTime_; } /** + * + * *
    * Output only. The creation time of the job.
    * 
@@ -910,38 +1030,50 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_; /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @return The state. */ - @java.lang.Override public com.google.cloud.scheduler.v1.Job.State getState() { + @java.lang.Override + public com.google.cloud.scheduler.v1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.Job.State result = com.google.cloud.scheduler.v1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1.Job.State result = + com.google.cloud.scheduler.v1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1.Job.State.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 11; private com.google.rpc.Status status_; /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return Whether the status field is set. */ @java.lang.Override @@ -949,11 +1081,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return The status. */ @java.lang.Override @@ -961,6 +1096,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -975,6 +1112,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 17; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -982,6 +1121,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -989,6 +1129,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -996,13 +1138,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1019,11 +1166,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int LAST_ATTEMPT_TIME_FIELD_NUMBER = 18;
   private com.google.protobuf.Timestamp lastAttemptTime_;
   /**
+   *
+   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return Whether the lastAttemptTime field is set. */ @java.lang.Override @@ -1031,18 +1181,25 @@ public boolean hasLastAttemptTime() { return lastAttemptTime_ != null; } /** + * + * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return The lastAttemptTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastAttemptTime() { - return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; + return lastAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastAttemptTime_; } /** + * + * *
    * Output only. The time the last job attempt started.
    * 
@@ -1057,11 +1214,14 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { public static final int RETRY_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.scheduler.v1.RetryConfig retryConfig_; /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -1069,18 +1229,25 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.scheduler.v1.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * 
@@ -1095,6 +1262,8 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde public static final int ATTEMPT_DEADLINE_FIELD_NUMBER = 22; private com.google.protobuf.Duration attemptDeadline_; /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1108,6 +1277,7 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return Whether the attemptDeadline field is set. */ @java.lang.Override @@ -1115,6 +1285,8 @@ public boolean hasAttemptDeadline() { return attemptDeadline_ != null; } /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1128,13 +1300,18 @@ public boolean hasAttemptDeadline() {
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return The attemptDeadline. */ @java.lang.Override public com.google.protobuf.Duration getAttemptDeadline() { - return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; + return attemptDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : attemptDeadline_; } /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1155,6 +1332,7 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1166,8 +1344,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1226,40 +1403,37 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
     }
     if (targetCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.cloud.scheduler.v1.PubsubTarget) target_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.cloud.scheduler.v1.PubsubTarget) target_);
     }
     if (targetCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_);
     }
     if (targetCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.scheduler.v1.HttpTarget) target_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.scheduler.v1.HttpTarget) target_);
     }
     if (userUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getUserUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUserUpdateTime());
     }
     if (state_ != com.google.cloud.scheduler.v1.Job.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(10, state_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, getStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getStatus());
     }
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(17, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getScheduleTime());
     }
     if (lastAttemptTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(18, getLastAttemptTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLastAttemptTime());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(19, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getRetryConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, schedule_);
@@ -1268,8 +1442,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, timeZone_);
     }
     if (attemptDeadline_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(22, getAttemptDeadline());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getAttemptDeadline());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1279,65 +1452,52 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.Job)) {
       return super.equals(obj);
     }
     com.google.cloud.scheduler.v1.Job other = (com.google.cloud.scheduler.v1.Job) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
-    if (!getSchedule()
-        .equals(other.getSchedule())) return false;
-    if (!getTimeZone()
-        .equals(other.getTimeZone())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getSchedule().equals(other.getSchedule())) return false;
+    if (!getTimeZone().equals(other.getTimeZone())) return false;
     if (hasUserUpdateTime() != other.hasUserUpdateTime()) return false;
     if (hasUserUpdateTime()) {
-      if (!getUserUpdateTime()
-          .equals(other.getUserUpdateTime())) return false;
+      if (!getUserUpdateTime().equals(other.getUserUpdateTime())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus()
-          .equals(other.getStatus())) return false;
+      if (!getStatus().equals(other.getStatus())) return false;
     }
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasLastAttemptTime() != other.hasLastAttemptTime()) return false;
     if (hasLastAttemptTime()) {
-      if (!getLastAttemptTime()
-          .equals(other.getLastAttemptTime())) return false;
+      if (!getLastAttemptTime().equals(other.getLastAttemptTime())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig()
-          .equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
     }
     if (hasAttemptDeadline() != other.hasAttemptDeadline()) return false;
     if (hasAttemptDeadline()) {
-      if (!getAttemptDeadline()
-          .equals(other.getAttemptDeadline())) return false;
+      if (!getAttemptDeadline().equals(other.getAttemptDeadline())) return false;
     }
     if (!getTargetCase().equals(other.getTargetCase())) return false;
     switch (targetCase_) {
       case 4:
-        if (!getPubsubTarget()
-            .equals(other.getPubsubTarget())) return false;
+        if (!getPubsubTarget().equals(other.getPubsubTarget())) return false;
         break;
       case 5:
-        if (!getAppEngineHttpTarget()
-            .equals(other.getAppEngineHttpTarget())) return false;
+        if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false;
         break;
       case 6:
-        if (!getHttpTarget()
-            .equals(other.getHttpTarget())) return false;
+        if (!getHttpTarget().equals(other.getHttpTarget())) return false;
         break;
       case 0:
       default:
@@ -1408,97 +1568,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.Job parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.Job parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.scheduler.v1.Job parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.cloud.scheduler.v1.Job parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.Job parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.scheduler.v1.Job prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for a job.
    * The maximum allowed size for a job is 100KB.
@@ -1506,21 +1672,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.Job}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.Job)
       com.google.cloud.scheduler.v1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.JobProto
+          .internal_static_google_cloud_scheduler_v1_Job_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.JobProto
+          .internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.Job.class, com.google.cloud.scheduler.v1.Job.Builder.class);
+              com.google.cloud.scheduler.v1.Job.class,
+              com.google.cloud.scheduler.v1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.Job.newBuilder()
@@ -1528,16 +1696,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1593,9 +1760,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.JobProto
+          .internal_static_google_cloud_scheduler_v1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -1680,38 +1847,39 @@ public com.google.cloud.scheduler.v1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.Job) {
-        return mergeFrom((com.google.cloud.scheduler.v1.Job)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.Job) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1758,21 +1926,25 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.Job other) {
         mergeAttemptDeadline(other.getAttemptDeadline());
       }
       switch (other.getTargetCase()) {
-        case PUBSUB_TARGET: {
-          mergePubsubTarget(other.getPubsubTarget());
-          break;
-        }
-        case APP_ENGINE_HTTP_TARGET: {
-          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-          break;
-        }
-        case HTTP_TARGET: {
-          mergeHttpTarget(other.getHttpTarget());
-          break;
-        }
-        case TARGET_NOT_SET: {
-          break;
-        }
+        case PUBSUB_TARGET:
+          {
+            mergePubsubTarget(other.getPubsubTarget());
+            break;
+          }
+        case APP_ENGINE_HTTP_TARGET:
+          {
+            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+            break;
+          }
+        case HTTP_TARGET:
+          {
+            mergeHttpTarget(other.getHttpTarget());
+            break;
+          }
+        case TARGET_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1802,12 +1974,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetCase_ = 0;
     private java.lang.Object target_;
-    public TargetCase
-        getTargetCase() {
-      return TargetCase.forNumber(
-          targetCase_);
+
+    public TargetCase getTargetCase() {
+      return TargetCase.forNumber(targetCase_);
     }
 
     public Builder clearTarget() {
@@ -1817,9 +1989,10 @@ public Builder clearTarget() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1839,13 +2012,13 @@ public Builder clearTarget() {
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1854,6 +2027,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1873,15 +2048,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1889,6 +2063,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1908,20 +2084,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1941,15 +2119,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1969,16 +2150,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1986,6 +2167,8 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -1994,13 +2177,13 @@ public Builder setNameBytes(
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2009,6 +2192,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2017,15 +2202,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2033,6 +2217,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2041,20 +2227,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2063,15 +2251,18 @@ public Builder setDescription(
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -2080,29 +2271,35 @@ public Builder clearDescription() {
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.PubsubTarget, com.google.cloud.scheduler.v1.PubsubTarget.Builder, com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> pubsubTargetBuilder_; + com.google.cloud.scheduler.v1.PubsubTarget, + com.google.cloud.scheduler.v1.PubsubTarget.Builder, + com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> + pubsubTargetBuilder_; /** + * + * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; + * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -2110,11 +2307,14 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** + * + * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; + * * @return The pubsubTarget. */ @java.lang.Override @@ -2132,6 +2332,8 @@ public com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget() { } } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2152,6 +2354,8 @@ public Builder setPubsubTarget(com.google.cloud.scheduler.v1.PubsubTarget value) return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2170,6 +2374,8 @@ public Builder setPubsubTarget( return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2178,10 +2384,13 @@ public Builder setPubsubTarget( */ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1.PubsubTarget value) { if (pubsubTargetBuilder_ == null) { - if (targetCase_ == 4 && - target_ != com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance()) { - target_ = com.google.cloud.scheduler.v1.PubsubTarget.newBuilder((com.google.cloud.scheduler.v1.PubsubTarget) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 4 + && target_ != com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance()) { + target_ = + com.google.cloud.scheduler.v1.PubsubTarget.newBuilder( + (com.google.cloud.scheduler.v1.PubsubTarget) target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -2197,6 +2406,8 @@ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1.PubsubTarget valu return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2220,6 +2431,8 @@ public Builder clearPubsubTarget() { return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2230,6 +2443,8 @@ public com.google.cloud.scheduler.v1.PubsubTarget.Builder getPubsubTargetBuilder return getPubsubTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2248,6 +2463,8 @@ public com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuil } } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2255,32 +2472,44 @@ public com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuil * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.PubsubTarget, com.google.cloud.scheduler.v1.PubsubTarget.Builder, com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> + com.google.cloud.scheduler.v1.PubsubTarget, + com.google.cloud.scheduler.v1.PubsubTarget.Builder, + com.google.cloud.scheduler.v1.PubsubTargetOrBuilder> getPubsubTargetFieldBuilder() { if (pubsubTargetBuilder_ == null) { if (!(targetCase_ == 4)) { target_ = com.google.cloud.scheduler.v1.PubsubTarget.getDefaultInstance(); } - pubsubTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.PubsubTarget, com.google.cloud.scheduler.v1.PubsubTarget.Builder, com.google.cloud.scheduler.v1.PubsubTargetOrBuilder>( + pubsubTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.PubsubTarget, + com.google.cloud.scheduler.v1.PubsubTarget.Builder, + com.google.cloud.scheduler.v1.PubsubTargetOrBuilder>( (com.google.cloud.scheduler.v1.PubsubTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 4; - onChanged();; + onChanged(); + ; return pubsubTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineHttpTarget, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; + com.google.cloud.scheduler.v1.AppEngineHttpTarget, + com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, + com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> + appEngineHttpTargetBuilder_; /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -2288,11 +2517,14 @@ public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -2310,6 +2542,8 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget( } } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2330,6 +2564,8 @@ public Builder setAppEngineHttpTarget(com.google.cloud.scheduler.v1.AppEngineHtt return this; } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2348,18 +2584,24 @@ public Builder setAppEngineHttpTarget( return this; } /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ - public Builder mergeAppEngineHttpTarget(com.google.cloud.scheduler.v1.AppEngineHttpTarget value) { + public Builder mergeAppEngineHttpTarget( + com.google.cloud.scheduler.v1.AppEngineHttpTarget value) { if (appEngineHttpTargetBuilder_ == null) { - if (targetCase_ == 5 && - target_ != com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance()) { - target_ = com.google.cloud.scheduler.v1.AppEngineHttpTarget.newBuilder((com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 5 + && target_ != com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance()) { + target_ = + com.google.cloud.scheduler.v1.AppEngineHttpTarget.newBuilder( + (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -2375,6 +2617,8 @@ public Builder mergeAppEngineHttpTarget(com.google.cloud.scheduler.v1.AppEngineH return this; } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2398,16 +2642,21 @@ public Builder clearAppEngineHttpTarget() { return this; } /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ - public com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() { + public com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder + getAppEngineHttpTargetBuilder() { return getAppEngineHttpTargetFieldBuilder().getBuilder(); } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2415,7 +2664,8 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder getAppEngineHtt * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder + getAppEngineHttpTargetOrBuilder() { if ((targetCase_ == 5) && (appEngineHttpTargetBuilder_ != null)) { return appEngineHttpTargetBuilder_.getMessageOrBuilder(); } else { @@ -2426,6 +2676,8 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHt } } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2433,32 +2685,44 @@ public com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHt * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineHttpTarget, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> + com.google.cloud.scheduler.v1.AppEngineHttpTarget, + com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, + com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder> getAppEngineHttpTargetFieldBuilder() { if (appEngineHttpTargetBuilder_ == null) { if (!(targetCase_ == 5)) { target_ = com.google.cloud.scheduler.v1.AppEngineHttpTarget.getDefaultInstance(); } - appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.AppEngineHttpTarget, com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder>( + appEngineHttpTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.AppEngineHttpTarget, + com.google.cloud.scheduler.v1.AppEngineHttpTarget.Builder, + com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder>( (com.google.cloud.scheduler.v1.AppEngineHttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 5; - onChanged();; + onChanged(); + ; return appEngineHttpTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.HttpTarget, com.google.cloud.scheduler.v1.HttpTarget.Builder, com.google.cloud.scheduler.v1.HttpTargetOrBuilder> httpTargetBuilder_; + com.google.cloud.scheduler.v1.HttpTarget, + com.google.cloud.scheduler.v1.HttpTarget.Builder, + com.google.cloud.scheduler.v1.HttpTargetOrBuilder> + httpTargetBuilder_; /** + * + * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; + * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -2466,11 +2730,14 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** + * + * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; + * * @return The httpTarget. */ @java.lang.Override @@ -2488,6 +2755,8 @@ public com.google.cloud.scheduler.v1.HttpTarget getHttpTarget() { } } /** + * + * *
      * HTTP target.
      * 
@@ -2508,14 +2777,15 @@ public Builder setHttpTarget(com.google.cloud.scheduler.v1.HttpTarget value) { return this; } /** + * + * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; */ - public Builder setHttpTarget( - com.google.cloud.scheduler.v1.HttpTarget.Builder builderForValue) { + public Builder setHttpTarget(com.google.cloud.scheduler.v1.HttpTarget.Builder builderForValue) { if (httpTargetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -2526,6 +2796,8 @@ public Builder setHttpTarget( return this; } /** + * + * *
      * HTTP target.
      * 
@@ -2534,10 +2806,13 @@ public Builder setHttpTarget( */ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1.HttpTarget value) { if (httpTargetBuilder_ == null) { - if (targetCase_ == 6 && - target_ != com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance()) { - target_ = com.google.cloud.scheduler.v1.HttpTarget.newBuilder((com.google.cloud.scheduler.v1.HttpTarget) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 6 + && target_ != com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance()) { + target_ = + com.google.cloud.scheduler.v1.HttpTarget.newBuilder( + (com.google.cloud.scheduler.v1.HttpTarget) target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -2553,6 +2828,8 @@ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1.HttpTarget value) { return this; } /** + * + * *
      * HTTP target.
      * 
@@ -2576,6 +2853,8 @@ public Builder clearHttpTarget() { return this; } /** + * + * *
      * HTTP target.
      * 
@@ -2586,6 +2865,8 @@ public com.google.cloud.scheduler.v1.HttpTarget.Builder getHttpTargetBuilder() { return getHttpTargetFieldBuilder().getBuilder(); } /** + * + * *
      * HTTP target.
      * 
@@ -2604,6 +2885,8 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder( } } /** + * + * *
      * HTTP target.
      * 
@@ -2611,26 +2894,34 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder( * .google.cloud.scheduler.v1.HttpTarget http_target = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.HttpTarget, com.google.cloud.scheduler.v1.HttpTarget.Builder, com.google.cloud.scheduler.v1.HttpTargetOrBuilder> + com.google.cloud.scheduler.v1.HttpTarget, + com.google.cloud.scheduler.v1.HttpTarget.Builder, + com.google.cloud.scheduler.v1.HttpTargetOrBuilder> getHttpTargetFieldBuilder() { if (httpTargetBuilder_ == null) { if (!(targetCase_ == 6)) { target_ = com.google.cloud.scheduler.v1.HttpTarget.getDefaultInstance(); } - httpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.HttpTarget, com.google.cloud.scheduler.v1.HttpTarget.Builder, com.google.cloud.scheduler.v1.HttpTargetOrBuilder>( + httpTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.HttpTarget, + com.google.cloud.scheduler.v1.HttpTarget.Builder, + com.google.cloud.scheduler.v1.HttpTargetOrBuilder>( (com.google.cloud.scheduler.v1.HttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 6; - onChanged();; + onChanged(); + ; return httpTargetBuilder_; } private java.lang.Object schedule_ = ""; /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2653,13 +2944,13 @@ public com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder(
      * 
* * string schedule = 20; + * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2668,6 +2959,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2690,15 +2983,14 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 20; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -2706,6 +2998,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2728,20 +3022,22 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 20; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { + public Builder setSchedule(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schedule_ = value; onChanged(); return this; } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2764,15 +3060,18 @@ public Builder setSchedule(
      * 
* * string schedule = 20; + * * @return This builder for chaining. */ public Builder clearSchedule() { - + schedule_ = getDefaultInstance().getSchedule(); onChanged(); return this; } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2795,16 +3094,16 @@ public Builder clearSchedule() {
      * 
* * string schedule = 20; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schedule_ = value; onChanged(); return this; @@ -2812,6 +3111,8 @@ public Builder setScheduleBytes( private java.lang.Object timeZone_ = ""; /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -2824,13 +3125,13 @@ public Builder setScheduleBytes(
      * 
* * string time_zone = 21; + * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -2839,6 +3140,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -2851,15 +3154,14 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 21; + * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -2867,6 +3169,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -2879,20 +3183,22 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 21; + * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone( - java.lang.String value) { + public Builder setTimeZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeZone_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -2905,15 +3211,18 @@ public Builder setTimeZone(
      * 
* * string time_zone = 21; + * * @return This builder for chaining. */ public Builder clearTimeZone() { - + timeZone_ = getDefaultInstance().getTimeZone(); onChanged(); return this; } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -2926,16 +3235,16 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 21; + * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeZone_ = value; onChanged(); return this; @@ -2943,34 +3252,47 @@ public Builder setTimeZoneBytes( private com.google.protobuf.Timestamp userUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> userUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + userUpdateTimeBuilder_; /** + * + * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return Whether the userUpdateTime field is set. */ public boolean hasUserUpdateTime() { return userUpdateTimeBuilder_ != null || userUpdateTime_ != null; } /** + * + * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return The userUpdateTime. */ public com.google.protobuf.Timestamp getUserUpdateTime() { if (userUpdateTimeBuilder_ == null) { - return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; + return userUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : userUpdateTime_; } else { return userUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -2991,14 +3313,15 @@ public Builder setUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; */ - public Builder setUserUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (userUpdateTimeBuilder_ == null) { userUpdateTime_ = builderForValue.build(); onChanged(); @@ -3009,6 +3332,8 @@ public Builder setUserUpdateTime( return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3019,7 +3344,9 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { if (userUpdateTimeBuilder_ == null) { if (userUpdateTime_ != null) { userUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(userUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(userUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { userUpdateTime_ = value; } @@ -3031,6 +3358,8 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3049,6 +3378,8 @@ public Builder clearUserUpdateTime() { return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3056,11 +3387,13 @@ public Builder clearUserUpdateTime() { * .google.protobuf.Timestamp user_update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUserUpdateTimeBuilder() { - + onChanged(); return getUserUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3071,11 +3404,14 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { if (userUpdateTimeBuilder_ != null) { return userUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return userUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; + return userUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : userUpdateTime_; } } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3083,14 +3419,17 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { * .google.protobuf.Timestamp user_update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUserUpdateTimeFieldBuilder() { if (userUpdateTimeBuilder_ == null) { - userUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUserUpdateTime(), - getParentForChildren(), - isClean()); + userUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUserUpdateTime(), getParentForChildren(), isClean()); userUpdateTime_ = null; } return userUpdateTimeBuilder_; @@ -3098,51 +3437,65 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @return The state. */ @java.lang.Override public com.google.cloud.scheduler.v1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1.Job.State result = com.google.cloud.scheduler.v1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1.Job.State result = + com.google.cloud.scheduler.v1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1.Job.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @param value The state to set. * @return This builder for chaining. */ @@ -3150,21 +3503,24 @@ public Builder setState(com.google.cloud.scheduler.v1.Job.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3172,24 +3528,31 @@ public Builder clearState() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -3200,6 +3563,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3220,14 +3585,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -3238,6 +3604,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3247,8 +3615,7 @@ public Builder setStatus( public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -3260,6 +3627,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3278,6 +3647,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3285,11 +3656,13 @@ public Builder clearStatus() { * .google.rpc.Status status = 11; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3300,11 +3673,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3312,14 +3686,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -3327,8 +3701,13 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3336,12 +3715,15 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3349,16 +3731,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3381,6 +3768,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3389,8 +3778,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 17;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -3401,6 +3789,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3413,7 +3803,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -3425,6 +3817,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3445,6 +3839,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3454,11 +3850,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3471,11 +3869,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3485,14 +3886,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -3500,34 +3904,47 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp lastAttemptTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastAttemptTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        lastAttemptTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return Whether the lastAttemptTime field is set. */ public boolean hasLastAttemptTime() { return lastAttemptTimeBuilder_ != null || lastAttemptTime_ != null; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return The lastAttemptTime. */ public com.google.protobuf.Timestamp getLastAttemptTime() { if (lastAttemptTimeBuilder_ == null) { - return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; + return lastAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastAttemptTime_; } else { return lastAttemptTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3548,14 +3965,15 @@ public Builder setLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; */ - public Builder setLastAttemptTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastAttemptTimeBuilder_ == null) { lastAttemptTime_ = builderForValue.build(); onChanged(); @@ -3566,6 +3984,8 @@ public Builder setLastAttemptTime( return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3576,7 +3996,9 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { if (lastAttemptTimeBuilder_ == null) { if (lastAttemptTime_ != null) { lastAttemptTime_ = - com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_) + .mergeFrom(value) + .buildPartial(); } else { lastAttemptTime_ = value; } @@ -3588,6 +4010,8 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3606,6 +4030,8 @@ public Builder clearLastAttemptTime() { return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3613,11 +4039,13 @@ public Builder clearLastAttemptTime() { * .google.protobuf.Timestamp last_attempt_time = 18; */ public com.google.protobuf.Timestamp.Builder getLastAttemptTimeBuilder() { - + onChanged(); return getLastAttemptTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3628,11 +4056,14 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { if (lastAttemptTimeBuilder_ != null) { return lastAttemptTimeBuilder_.getMessageOrBuilder(); } else { - return lastAttemptTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; + return lastAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastAttemptTime_; } } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3640,14 +4071,17 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { * .google.protobuf.Timestamp last_attempt_time = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastAttemptTimeFieldBuilder() { if (lastAttemptTimeBuilder_ == null) { - lastAttemptTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastAttemptTime(), - getParentForChildren(), - isClean()); + lastAttemptTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastAttemptTime(), getParentForChildren(), isClean()); lastAttemptTime_ = null; } return lastAttemptTimeBuilder_; @@ -3655,34 +4089,47 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { private com.google.cloud.scheduler.v1.RetryConfig retryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.RetryConfig, com.google.cloud.scheduler.v1.RetryConfig.Builder, com.google.cloud.scheduler.v1.RetryConfigOrBuilder> retryConfigBuilder_; + com.google.cloud.scheduler.v1.RetryConfig, + com.google.cloud.scheduler.v1.RetryConfig.Builder, + com.google.cloud.scheduler.v1.RetryConfigOrBuilder> + retryConfigBuilder_; /** + * + * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; + * * @return The retryConfig. */ public com.google.cloud.scheduler.v1.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3703,6 +4150,8 @@ public Builder setRetryConfig(com.google.cloud.scheduler.v1.RetryConfig value) { return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3721,6 +4170,8 @@ public Builder setRetryConfig( return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3731,7 +4182,9 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1.RetryConfig value) if (retryConfigBuilder_ == null) { if (retryConfig_ != null) { retryConfig_ = - com.google.cloud.scheduler.v1.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.scheduler.v1.RetryConfig.newBuilder(retryConfig_) + .mergeFrom(value) + .buildPartial(); } else { retryConfig_ = value; } @@ -3743,6 +4196,8 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1.RetryConfig value) return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3761,6 +4216,8 @@ public Builder clearRetryConfig() { return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3768,11 +4225,13 @@ public Builder clearRetryConfig() { * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; */ public com.google.cloud.scheduler.v1.RetryConfig.Builder getRetryConfigBuilder() { - + onChanged(); return getRetryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3783,11 +4242,14 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde if (retryConfigBuilder_ != null) { return retryConfigBuilder_.getMessageOrBuilder(); } else { - return retryConfig_ == null ? - com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.scheduler.v1.RetryConfig.getDefaultInstance() + : retryConfig_; } } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3795,14 +4257,17 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.RetryConfig, com.google.cloud.scheduler.v1.RetryConfig.Builder, com.google.cloud.scheduler.v1.RetryConfigOrBuilder> + com.google.cloud.scheduler.v1.RetryConfig, + com.google.cloud.scheduler.v1.RetryConfig.Builder, + com.google.cloud.scheduler.v1.RetryConfigOrBuilder> getRetryConfigFieldBuilder() { if (retryConfigBuilder_ == null) { - retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.RetryConfig, com.google.cloud.scheduler.v1.RetryConfig.Builder, com.google.cloud.scheduler.v1.RetryConfigOrBuilder>( - getRetryConfig(), - getParentForChildren(), - isClean()); + retryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.RetryConfig, + com.google.cloud.scheduler.v1.RetryConfig.Builder, + com.google.cloud.scheduler.v1.RetryConfigOrBuilder>( + getRetryConfig(), getParentForChildren(), isClean()); retryConfig_ = null; } return retryConfigBuilder_; @@ -3810,8 +4275,13 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde private com.google.protobuf.Duration attemptDeadline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> attemptDeadlineBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + attemptDeadlineBuilder_; /** + * + * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3825,12 +4295,15 @@ public com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilde
      * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return Whether the attemptDeadline field is set. */ public boolean hasAttemptDeadline() { return attemptDeadlineBuilder_ != null || attemptDeadline_ != null; } /** + * + * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3844,16 +4317,21 @@ public boolean hasAttemptDeadline() {
      * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return The attemptDeadline. */ public com.google.protobuf.Duration getAttemptDeadline() { if (attemptDeadlineBuilder_ == null) { - return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; + return attemptDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : attemptDeadline_; } else { return attemptDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3882,6 +4360,8 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3896,8 +4376,7 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration attempt_deadline = 22;
      */
-    public Builder setAttemptDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (attemptDeadlineBuilder_ == null) {
         attemptDeadline_ = builderForValue.build();
         onChanged();
@@ -3908,6 +4387,8 @@ public Builder setAttemptDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3926,7 +4407,9 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       if (attemptDeadlineBuilder_ == null) {
         if (attemptDeadline_ != null) {
           attemptDeadline_ =
-            com.google.protobuf.Duration.newBuilder(attemptDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(attemptDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           attemptDeadline_ = value;
         }
@@ -3938,6 +4421,8 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3964,6 +4449,8 @@ public Builder clearAttemptDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3979,11 +4466,13 @@ public Builder clearAttemptDeadline() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     public com.google.protobuf.Duration.Builder getAttemptDeadlineBuilder() {
-      
+
       onChanged();
       return getAttemptDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4002,11 +4491,14 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
       if (attemptDeadlineBuilder_ != null) {
         return attemptDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return attemptDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_;
+        return attemptDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : attemptDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4022,21 +4514,24 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getAttemptDeadlineFieldBuilder() {
       if (attemptDeadlineBuilder_ == null) {
-        attemptDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getAttemptDeadline(),
-                getParentForChildren(),
-                isClean());
+        attemptDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getAttemptDeadline(), getParentForChildren(), isClean());
         attemptDeadline_ = null;
       }
       return attemptDeadlineBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4046,12 +4541,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.Job)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.Job)
   private static final com.google.cloud.scheduler.v1.Job DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.Job();
   }
@@ -4060,16 +4555,16 @@ public static com.google.cloud.scheduler.v1.Job getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Job parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Job(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Job parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Job(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4084,6 +4579,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1.Job getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
similarity index 92%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
index 6c6b3c7e..88fd6299 100644
--- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/job.proto
 
 package com.google.cloud.scheduler.v1;
 
-public interface JobOrBuilder extends
+public interface JobOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.Job)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -27,10 +45,13 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -50,12 +71,14 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -64,10 +87,13 @@ public interface JobOrBuilder extends
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
@@ -76,30 +102,38 @@ public interface JobOrBuilder extends
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; + * * @return Whether the pubsubTarget field is set. */ boolean hasPubsubTarget(); /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1.PubsubTarget pubsub_target = 4; + * * @return The pubsubTarget. */ com.google.cloud.scheduler.v1.PubsubTarget getPubsubTarget(); /** + * + * *
    * Pub/Sub target.
    * 
@@ -109,24 +143,32 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1.PubsubTargetOrBuilder getPubsubTargetOrBuilder(); /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return The appEngineHttpTarget. */ com.google.cloud.scheduler.v1.AppEngineHttpTarget getAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * 
@@ -136,24 +178,32 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder(); /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; + * * @return Whether the httpTarget field is set. */ boolean hasHttpTarget(); /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1.HttpTarget http_target = 6; + * * @return The httpTarget. */ com.google.cloud.scheduler.v1.HttpTarget getHttpTarget(); /** + * + * *
    * HTTP target.
    * 
@@ -163,6 +213,8 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1.HttpTargetOrBuilder getHttpTargetOrBuilder(); /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -185,10 +237,13 @@ public interface JobOrBuilder extends
    * 
* * string schedule = 20; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -211,12 +266,14 @@ public interface JobOrBuilder extends
    * 
* * string schedule = 20; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -229,10 +286,13 @@ public interface JobOrBuilder extends
    * 
* * string time_zone = 21; + * * @return The timeZone. */ java.lang.String getTimeZone(); /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1.Job.schedule]. The value of this field must be a time
@@ -245,30 +305,38 @@ public interface JobOrBuilder extends
    * 
* * string time_zone = 21; + * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString - getTimeZoneBytes(); + com.google.protobuf.ByteString getTimeZoneBytes(); /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return Whether the userUpdateTime field is set. */ boolean hasUserUpdateTime(); /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return The userUpdateTime. */ com.google.protobuf.Timestamp getUserUpdateTime(); /** + * + * *
    * Output only. The creation time of the job.
    * 
@@ -278,43 +346,57 @@ public interface JobOrBuilder extends com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder(); /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1.Job.State state = 10; + * * @return The state. */ com.google.cloud.scheduler.v1.Job.State getState(); /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -324,6 +406,8 @@ public interface JobOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -331,10 +415,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -342,10 +429,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -357,24 +447,32 @@ public interface JobOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return Whether the lastAttemptTime field is set. */ boolean hasLastAttemptTime(); /** + * + * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return The lastAttemptTime. */ com.google.protobuf.Timestamp getLastAttemptTime(); /** + * + * *
    * Output only. The time the last job attempt started.
    * 
@@ -384,24 +482,32 @@ public interface JobOrBuilder extends com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder(); /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1.RetryConfig retry_config = 19; + * * @return The retryConfig. */ com.google.cloud.scheduler.v1.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * 
@@ -411,6 +517,8 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1.RetryConfigOrBuilder getRetryConfigOrBuilder(); /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -424,10 +532,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return Whether the attemptDeadline field is set. */ boolean hasAttemptDeadline(); /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -441,10 +552,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return The attemptDeadline. */ com.google.protobuf.Duration getAttemptDeadline(); /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java
new file mode 100644
index 00000000..8fff5b05
--- /dev/null
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/JobProto.java
@@ -0,0 +1,144 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/scheduler/v1/job.proto
+
+package com.google.cloud.scheduler.v1;
+
+public final class JobProto {
+  private JobProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_scheduler_v1_Job_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n#google/cloud/scheduler/v1/job.proto\022\031g"
+          + "oogle.cloud.scheduler.v1\032\031google/api/res"
+          + "ource.proto\032&google/cloud/scheduler/v1/t"
+          + "arget.proto\032\036google/protobuf/duration.pr"
+          + "oto\032\037google/protobuf/timestamp.proto\032\027go"
+          + "ogle/rpc/status.proto\032\034google/api/annota"
+          + "tions.proto\"\313\006\n\003Job\022\014\n\004name\030\001 \001(\t\022\023\n\013des"
+          + "cription\030\002 \001(\t\022@\n\rpubsub_target\030\004 \001(\0132\'."
+          + "google.cloud.scheduler.v1.PubsubTargetH\000"
+          + "\022P\n\026app_engine_http_target\030\005 \001(\0132..googl"
+          + "e.cloud.scheduler.v1.AppEngineHttpTarget"
+          + "H\000\022<\n\013http_target\030\006 \001(\0132%.google.cloud.s"
+          + "cheduler.v1.HttpTargetH\000\022\020\n\010schedule\030\024 \001"
+          + "(\t\022\021\n\ttime_zone\030\025 \001(\t\0224\n\020user_update_tim"
+          + "e\030\t \001(\0132\032.google.protobuf.Timestamp\0223\n\005s"
+          + "tate\030\n \001(\0162$.google.cloud.scheduler.v1.J"
+          + "ob.State\022\"\n\006status\030\013 \001(\0132\022.google.rpc.St"
+          + "atus\0221\n\rschedule_time\030\021 \001(\0132\032.google.pro"
+          + "tobuf.Timestamp\0225\n\021last_attempt_time\030\022 \001"
+          + "(\0132\032.google.protobuf.Timestamp\022<\n\014retry_"
+          + "config\030\023 \001(\0132&.google.cloud.scheduler.v1"
+          + ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031"
+          + ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST"
+          + "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED"
+          + "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW"
+          + "\n!cloudscheduler.googleapis.com/Job\0222pro"
+          + "jects/{project}/locations/{location}/job"
+          + "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret"
+          + "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001"
+          + "(\0132\031.google.protobuf.Duration\0227\n\024min_bac"
+          + "koff_duration\030\003 \001(\0132\031.google.protobuf.Du"
+          + "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g"
+          + "oogle.protobuf.Duration\022\025\n\rmax_doublings"
+          + "\030\005 \001(\005Bo\n\035com.google.cloud.scheduler.v1B"
+          + "\010JobProtoP\001ZBgoogle.golang.org/genproto/"
+          + "googleapis/cloud/scheduler/v1;schedulerb"
+          + "\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.scheduler.v1.TargetProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.rpc.StatusProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
+            });
+    internal_static_google_cloud_scheduler_v1_Job_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_scheduler_v1_Job_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_scheduler_v1_Job_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "Description",
+              "PubsubTarget",
+              "AppEngineHttpTarget",
+              "HttpTarget",
+              "Schedule",
+              "TimeZone",
+              "UserUpdateTime",
+              "State",
+              "Status",
+              "ScheduleTime",
+              "LastAttemptTime",
+              "RetryConfig",
+              "AttemptDeadline",
+              "Target",
+            });
+    internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor,
+            new java.lang.String[] {
+              "RetryCount",
+              "MaxRetryDuration",
+              "MinBackoffDuration",
+              "MaxBackoffDuration",
+              "MaxDoublings",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.scheduler.v1.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
similarity index 73%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
index d1fd8c00..c13d4ac3 100644
--- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
+ *
+ *
  * 
  * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsRequest} */ -public final class ListJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.ListJobsRequest) ListJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListJobsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 40: { - - pageSize_ = input.readInt32(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 40: + { + pageSize_ = input.readInt32(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,42 @@ private ListJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsRequest.class, com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1.ListJobsRequest.class, + com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,30 +148,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -165,6 +195,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -175,6 +206,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -186,6 +219,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -194,14 +228,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -213,16 +248,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -231,6 +265,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -266,8 +300,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -280,19 +313,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.ListJobsRequest other = (com.google.cloud.scheduler.v1.ListJobsRequest) obj; + com.google.cloud.scheduler.v1.ListJobsRequest other = + (com.google.cloud.scheduler.v1.ListJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -315,118 +346,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.ListJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.ListJobsRequest) com.google.cloud.scheduler.v1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsRequest.class, com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1.ListJobsRequest.class, + com.google.cloud.scheduler.v1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.ListJobsRequest.newBuilder() @@ -434,16 +474,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -457,9 +496,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; } @java.lang.Override @@ -478,7 +517,8 @@ public com.google.cloud.scheduler.v1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.ListJobsRequest buildPartial() { - com.google.cloud.scheduler.v1.ListJobsRequest result = new com.google.cloud.scheduler.v1.ListJobsRequest(this); + com.google.cloud.scheduler.v1.ListJobsRequest result = + new com.google.cloud.scheduler.v1.ListJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -490,38 +530,39 @@ public com.google.cloud.scheduler.v1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.ListJobsRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.ListJobsRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1.ListJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -572,19 +613,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -593,21 +638,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -615,64 +663,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -682,6 +745,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -689,6 +753,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -698,16 +764,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -717,10 +786,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -728,6 +798,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -739,13 +811,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -754,6 +826,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -765,15 +839,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -781,6 +854,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -792,20 +867,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -817,15 +894,18 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -837,23 +917,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -863,12 +943,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.ListJobsRequest) private static final com.google.cloud.scheduler.v1.ListJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.ListJobsRequest(); } @@ -877,16 +957,16 @@ public static com.google.cloud.scheduler.v1.ListJobsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -901,6 +981,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java index 5458b9b0..35c6769d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface ListJobsRequestOrBuilder extends +public interface ListJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -39,11 +66,14 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -55,10 +85,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -70,8 +103,8 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java index 035a462e..5c9b83b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsResponse} */ -public final class ListJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.ListJobsResponse) ListJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,30 @@ private ListJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + jobs_.add( + input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry)); + break; } - jobs_.add( - input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +103,7 @@ private ListJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -94,22 +112,27 @@ private ListJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsResponse.class, com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1.ListJobsResponse.class, + com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** + * + * *
    * The list of jobs.
    * 
@@ -121,6 +144,8 @@ public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * The list of jobs.
    * 
@@ -128,11 +153,13 @@ public java.util.List getJobsList() { * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * The list of jobs.
    * 
@@ -144,6 +171,8 @@ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * The list of jobs.
    * 
@@ -155,6 +184,8 @@ public com.google.cloud.scheduler.v1.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * The list of jobs.
    * 
@@ -162,14 +193,15 @@ public com.google.cloud.scheduler.v1.Job getJobs(int index) { * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -180,6 +212,7 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +221,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -206,16 +240,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -253,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.ListJobsResponse)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.ListJobsResponse other = (com.google.cloud.scheduler.v1.ListJobsResponse) obj; + com.google.cloud.scheduler.v1.ListJobsResponse other = + (com.google.cloud.scheduler.v1.ListJobsResponse) obj; - if (!getJobsList() - .equals(other.getJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -300,118 +331,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.ListJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.ListJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.ListJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.ListJobsResponse) com.google.cloud.scheduler.v1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ListJobsResponse.class, com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1.ListJobsResponse.class, + com.google.cloud.scheduler.v1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.scheduler.v1.ListJobsResponse.newBuilder() @@ -419,17 +459,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; } @java.lang.Override @@ -466,7 +506,8 @@ public com.google.cloud.scheduler.v1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.scheduler.v1.ListJobsResponse buildPartial() { - com.google.cloud.scheduler.v1.ListJobsResponse result = new com.google.cloud.scheduler.v1.ListJobsResponse(this); + com.google.cloud.scheduler.v1.ListJobsResponse result = + new com.google.cloud.scheduler.v1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +527,39 @@ public com.google.cloud.scheduler.v1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.ListJobsResponse) { - return mergeFrom((com.google.cloud.scheduler.v1.ListJobsResponse)other); + return mergeFrom((com.google.cloud.scheduler.v1.ListJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -544,9 +586,10 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.ListJobsResponse other) { jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -584,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> jobsBuilder_; + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * The list of jobs.
      * 
@@ -613,6 +663,8 @@ public java.util.List getJobsList() { } } /** + * + * *
      * The list of jobs.
      * 
@@ -627,6 +679,8 @@ public int getJobsCount() { } } /** + * + * *
      * The list of jobs.
      * 
@@ -641,14 +695,15 @@ public com.google.cloud.scheduler.v1.Job getJobs(int index) { } } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder setJobs( - int index, com.google.cloud.scheduler.v1.Job value) { + public Builder setJobs(int index, com.google.cloud.scheduler.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,14 +717,15 @@ public Builder setJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder setJobs( - int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder setJobs(int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -680,6 +736,8 @@ public Builder setJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -700,14 +758,15 @@ public Builder addJobs(com.google.cloud.scheduler.v1.Job value) { return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder addJobs( - int index, com.google.cloud.scheduler.v1.Job value) { + public Builder addJobs(int index, com.google.cloud.scheduler.v1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +780,15 @@ public Builder addJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder addJobs( - com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -739,14 +799,15 @@ public Builder addJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public Builder addJobs( - int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder addJobs(int index, com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -757,6 +818,8 @@ public Builder addJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -767,8 +830,7 @@ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -776,6 +838,8 @@ public Builder addAllJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -793,6 +857,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -810,39 +876,44 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.scheduler.v1.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +921,8 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * The list of jobs.
      * 
@@ -857,42 +930,47 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.scheduler.v1.Job.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.cloud.scheduler.v1.Job.getDefaultInstance()); } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.scheduler.v1.Job.getDefaultInstance()); + public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.scheduler.v1.Job.getDefaultInstance()); } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -900,6 +978,8 @@ public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -910,13 +990,13 @@ public com.google.cloud.scheduler.v1.Job.Builder addJobsBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1005,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -935,15 +1017,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1032,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -961,20 +1044,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -985,15 +1070,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1004,23 +1092,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1118,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.ListJobsResponse) private static final com.google.cloud.scheduler.v1.ListJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.ListJobsResponse(); } @@ -1044,16 +1132,16 @@ public static com.google.cloud.scheduler.v1.ListJobsResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1156,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java index 55a48f28..014dfb22 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ListJobsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface ListJobsResponseOrBuilder extends +public interface ListJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * The list of jobs.
    * 
@@ -25,6 +44,8 @@ public interface ListJobsResponseOrBuilder extends */ com.google.cloud.scheduler.v1.Job getJobs(int index); /** + * + * *
    * The list of jobs.
    * 
@@ -33,25 +54,29 @@ public interface ListJobsResponseOrBuilder extends */ int getJobsCount(); /** + * + * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1.Job jobs = 1; */ - com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -62,10 +87,13 @@ com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1.ListJobsRequest.page_token] field in the subsequent call to
@@ -76,8 +104,8 @@ com.google.cloud.scheduler.v1.JobOrBuilder getJobsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java index a208952d..9ffd9182 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.OAuthToken.class, com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
+            com.google.cloud.scheduler.v1.OAuthToken.class,
+            com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -114,6 +137,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -122,14 +146,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,16 +163,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -158,6 +182,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -165,6 +191,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -173,14 +200,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -188,16 +216,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -206,6 +233,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -248,17 +275,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.OAuthToken)) { return super.equals(obj); } com.google.cloud.scheduler.v1.OAuthToken other = (com.google.cloud.scheduler.v1.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OAuthToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.OAuthToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -379,21 +411,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.OAuthToken)
       com.google.cloud.scheduler.v1.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.OAuthToken.class, com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
+              com.google.cloud.scheduler.v1.OAuthToken.class,
+              com.google.cloud.scheduler.v1.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.OAuthToken.newBuilder()
@@ -401,16 +435,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +455,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +476,8 @@ public com.google.cloud.scheduler.v1.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.OAuthToken buildPartial() {
-      com.google.cloud.scheduler.v1.OAuthToken result = new com.google.cloud.scheduler.v1.OAuthToken(this);
+      com.google.cloud.scheduler.v1.OAuthToken result =
+          new com.google.cloud.scheduler.v1.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -454,38 +488,39 @@ public com.google.cloud.scheduler.v1.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.OAuthToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1.OAuthToken)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,6 +568,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -541,13 +578,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -556,6 +593,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -564,15 +603,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -580,6 +618,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -588,20 +628,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -610,15 +652,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -627,16 +672,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -644,6 +689,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -651,13 +698,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -666,6 +713,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -673,15 +722,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -689,6 +737,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -696,20 +746,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -717,15 +769,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -733,23 +788,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +814,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.OAuthToken) private static final com.google.cloud.scheduler.v1.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.OAuthToken(); } @@ -773,16 +828,16 @@ public static com.google.cloud.scheduler.v1.OAuthToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -797,6 +852,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java index 0b573823..f01258bf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -16,10 +34,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -28,12 +49,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -41,10 +64,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -52,8 +78,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java index d7c1ea01..72fe5774 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.OidcToken.class, com.google.cloud.scheduler.v1.OidcToken.Builder.class);
+            com.google.cloud.scheduler.v1.OidcToken.class,
+            com.google.cloud.scheduler.v1.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -116,6 +139,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -124,14 +148,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,12 +184,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -174,30 +201,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -206,6 +233,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -248,17 +275,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.OidcToken)) { return super.equals(obj); } com.google.cloud.scheduler.v1.OidcToken other = (com.google.cloud.scheduler.v1.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,97 +304,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.OidcToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.OidcToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -381,21 +413,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.OidcToken)
       com.google.cloud.scheduler.v1.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.OidcToken.class, com.google.cloud.scheduler.v1.OidcToken.Builder.class);
+              com.google.cloud.scheduler.v1.OidcToken.class,
+              com.google.cloud.scheduler.v1.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.OidcToken.newBuilder()
@@ -403,16 +437,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +478,8 @@ public com.google.cloud.scheduler.v1.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.OidcToken buildPartial() {
-      com.google.cloud.scheduler.v1.OidcToken result = new com.google.cloud.scheduler.v1.OidcToken(this);
+      com.google.cloud.scheduler.v1.OidcToken result =
+          new com.google.cloud.scheduler.v1.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -456,38 +490,39 @@ public com.google.cloud.scheduler.v1.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.OidcToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1.OidcToken)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -543,13 +580,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -558,6 +595,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -566,15 +605,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -582,6 +620,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -590,20 +630,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -612,15 +654,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -629,16 +674,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -646,19 +691,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -667,21 +714,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -689,64 +737,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +811,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.OidcToken) private static final com.google.cloud.scheduler.v1.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.OidcToken(); } @@ -770,16 +825,16 @@ public static com.google.cloud.scheduler.v1.OidcToken getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,6 +849,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java index 110c6a60..7c38c9a7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -16,10 +34,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -28,30 +49,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java index 79438013..2230062d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Request message for [PauseJob][google.cloud.scheduler.v1.CloudScheduler.PauseJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.PauseJobRequest} */ -public final class PauseJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.PauseJobRequest) PauseJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseJobRequest.newBuilder() to construct. private PauseJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.PauseJobRequest.class, com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1.PauseJobRequest.class, + com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.PauseJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.PauseJobRequest other = (com.google.cloud.scheduler.v1.PauseJobRequest) obj; + com.google.cloud.scheduler.v1.PauseJobRequest other = + (com.google.cloud.scheduler.v1.PauseJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.PauseJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.PauseJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.PauseJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.PauseJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [PauseJob][google.cloud.scheduler.v1.CloudScheduler.PauseJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.PauseJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.PauseJobRequest) com.google.cloud.scheduler.v1.PauseJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.PauseJobRequest.class, com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1.PauseJobRequest.class, + com.google.cloud.scheduler.v1.PauseJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.PauseJobRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.scheduler.v1.PauseJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.PauseJobRequest buildPartial() { - com.google.cloud.scheduler.v1.PauseJobRequest result = new com.google.cloud.scheduler.v1.PauseJobRequest(this); + com.google.cloud.scheduler.v1.PauseJobRequest result = + new com.google.cloud.scheduler.v1.PauseJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.scheduler.v1.PauseJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.PauseJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.PauseJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1.PauseJobRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.PauseJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.PauseJobRequest) private static final com.google.cloud.scheduler.v1.PauseJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.PauseJobRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.scheduler.v1.PauseJobRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.PauseJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java new file mode 100644 index 00000000..341b3db3 --- /dev/null +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PauseJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface PauseJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.PauseJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java index 9711889c..5a0705fe 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/target.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Pub/Sub target. The job will be delivered by publishing a message to
  * the given Pub/Sub topic.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.PubsubTarget}
  */
-public final class PubsubTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PubsubTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.PubsubTarget)
     PubsubTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PubsubTarget.newBuilder() to construct.
   private PubsubTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PubsubTarget() {
     topicName_ = "";
     data_ = com.google.protobuf.ByteString.EMPTY;
@@ -27,16 +45,15 @@ private PubsubTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PubsubTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PubsubTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,37 +73,40 @@ private PubsubTarget(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            topicName_ = s;
-            break;
-          }
-          case 26: {
-
-            data_ = input.readBytes();
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              attributes_ = com.google.protobuf.MapField.newMapField(
-                  AttributesDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              topicName_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            attributes__ = input.readMessage(
-                AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            attributes_.getMutableMap().put(
-                attributes__.getKey(), attributes__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              data_ = input.readBytes();
+              break;
+            }
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                attributes_ =
+                    com.google.protobuf.MapField.newMapField(
+                        AttributesDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry attributes__ =
+                  input.readMessage(
+                      AttributesDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              attributes_.getMutableMap().put(attributes__.getKey(), attributes__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,41 +114,44 @@ private PubsubTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetAttributes();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.TargetProto
+        .internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.PubsubTarget.class, com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
+            com.google.cloud.scheduler.v1.PubsubTarget.class,
+            com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
   }
 
   public static final int TOPIC_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object topicName_;
   /**
+   *
+   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -139,6 +162,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The topicName. */ @java.lang.Override @@ -147,14 +171,15 @@ public java.lang.String getTopicName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; } } /** + * + * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -165,16 +190,15 @@ public java.lang.String getTopicName() {
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topicName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicNameBytes() { + public com.google.protobuf.ByteString getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topicName_ = b; return b; } else { @@ -185,6 +209,8 @@ public java.lang.String getTopicName() { public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** + * + * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -192,6 +218,7 @@ public java.lang.String getTopicName() {
    * 
* * bytes data = 3; + * * @return The data. */ @java.lang.Override @@ -200,24 +227,23 @@ public com.google.protobuf.ByteString getData() { } public static final int ATTRIBUTES_FIELD_NUMBER = 4; + private static final class AttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.scheduler.v1.TargetProto + .internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; - private com.google.protobuf.MapField - internalGetAttributes() { + + private com.google.protobuf.MapField attributes_; + + private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AttributesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } @@ -226,6 +252,8 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** + * + * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -234,22 +262,22 @@ public int getAttributesCount() {
    *
    * map<string, string> attributes = 4;
    */
-
   @java.lang.Override
-  public boolean containsAttributes(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAttributes(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAttributes().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAttributesMap()} instead.
-   */
+  /** Use {@link #getAttributesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAttributes() {
     return getAttributesMap();
   }
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -259,11 +287,12 @@ public java.util.Map getAttributes() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-
   public java.util.Map getAttributesMap() {
     return internalGetAttributes().getMap();
   }
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -273,16 +302,17 @@ public java.util.Map getAttributesMap() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-
   public java.lang.String getAttributesOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAttributes().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -292,12 +322,11 @@ public java.lang.String getAttributesOrDefault(
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getAttributesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAttributes().getMap();
+  public java.lang.String getAttributesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAttributes().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -305,6 +334,7 @@ public java.lang.String getAttributesOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -316,20 +346,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topicName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topicName_);
     }
     if (!data_.isEmpty()) {
       output.writeBytes(3, data_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAttributes(),
-        AttributesDefaultEntryHolder.defaultEntry,
-        4);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 4);
     unknownFields.writeTo(output);
   }
 
@@ -343,18 +368,17 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topicName_);
     }
     if (!data_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(3, data_);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetAttributes().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, attributes__);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, data_);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetAttributes().getMap().entrySet()) {
+      com.google.protobuf.MapEntry attributes__ =
+          AttributesDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, attributes__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,19 +388,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1.PubsubTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1.PubsubTarget other = (com.google.cloud.scheduler.v1.PubsubTarget) obj;
+    com.google.cloud.scheduler.v1.PubsubTarget other =
+        (com.google.cloud.scheduler.v1.PubsubTarget) obj;
 
-    if (!getTopicName()
-        .equals(other.getTopicName())) return false;
-    if (!getData()
-        .equals(other.getData())) return false;
-    if (!internalGetAttributes().equals(
-        other.internalGetAttributes())) return false;
+    if (!getTopicName().equals(other.getTopicName())) return false;
+    if (!getData().equals(other.getData())) return false;
+    if (!internalGetAttributes().equals(other.internalGetAttributes())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -401,97 +423,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.scheduler.v1.PubsubTarget parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.scheduler.v1.PubsubTarget parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1.PubsubTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.scheduler.v1.PubsubTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Pub/Sub target. The job will be delivered by publishing a message to
    * the given Pub/Sub topic.
@@ -499,43 +528,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.PubsubTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.PubsubTarget)
       com.google.cloud.scheduler.v1.PubsubTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.PubsubTarget.class, com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
+              com.google.cloud.scheduler.v1.PubsubTarget.class,
+              com.google.cloud.scheduler.v1.PubsubTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.PubsubTarget.newBuilder()
@@ -543,16 +572,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -565,9 +593,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.TargetProto.internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.TargetProto
+          .internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor;
     }
 
     @java.lang.Override
@@ -586,7 +614,8 @@ public com.google.cloud.scheduler.v1.PubsubTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.PubsubTarget buildPartial() {
-      com.google.cloud.scheduler.v1.PubsubTarget result = new com.google.cloud.scheduler.v1.PubsubTarget(this);
+      com.google.cloud.scheduler.v1.PubsubTarget result =
+          new com.google.cloud.scheduler.v1.PubsubTarget(this);
       int from_bitField0_ = bitField0_;
       result.topicName_ = topicName_;
       result.data_ = data_;
@@ -600,38 +629,39 @@ public com.google.cloud.scheduler.v1.PubsubTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.PubsubTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.PubsubTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -647,8 +677,7 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1.PubsubTarget other) {
       if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
         setData(other.getData());
       }
-      internalGetMutableAttributes().mergeFrom(
-          other.internalGetAttributes());
+      internalGetMutableAttributes().mergeFrom(other.internalGetAttributes());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -677,10 +706,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object topicName_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -691,13 +723,13 @@ public Builder mergeFrom(
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The topicName. */ public java.lang.String getTopicName() { java.lang.Object ref = topicName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; @@ -706,6 +738,8 @@ public java.lang.String getTopicName() { } } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -716,15 +750,14 @@ public java.lang.String getTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topicName. */ - public com.google.protobuf.ByteString - getTopicNameBytes() { + public com.google.protobuf.ByteString getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topicName_ = b; return b; } else { @@ -732,6 +765,8 @@ public java.lang.String getTopicName() { } } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -742,20 +777,22 @@ public java.lang.String getTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The topicName to set. * @return This builder for chaining. */ - public Builder setTopicName( - java.lang.String value) { + public Builder setTopicName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topicName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -766,15 +803,18 @@ public Builder setTopicName(
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTopicName() { - + topicName_ = getDefaultInstance().getTopicName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -785,16 +825,16 @@ public Builder clearTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for topicName to set. * @return This builder for chaining. */ - public Builder setTopicNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topicName_ = value; onChanged(); return this; @@ -802,6 +842,8 @@ public Builder setTopicNameBytes( private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -809,6 +851,7 @@ public Builder setTopicNameBytes(
      * 
* * bytes data = 3; + * * @return The data. */ @java.lang.Override @@ -816,6 +859,8 @@ public com.google.protobuf.ByteString getData() { return data_; } /** + * + * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -823,19 +868,22 @@ public com.google.protobuf.ByteString getData() {
      * 
* * bytes data = 3; + * * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + data_ = value; onChanged(); return this; } /** + * + * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -843,31 +891,34 @@ public Builder setData(com.google.protobuf.ByteString value) {
      * 
* * bytes data = 3; + * * @return This builder for chaining. */ public Builder clearData() { - + data_ = getDefaultInstance().getData(); onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; + private com.google.protobuf.MapField attributes_; + private com.google.protobuf.MapField - internalGetAttributes() { + internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } + private com.google.protobuf.MapField - internalGetMutableAttributes() { - onChanged();; + internalGetMutableAttributes() { + onChanged(); + ; if (attributes_ == null) { - attributes_ = com.google.protobuf.MapField.newMapField( - AttributesDefaultEntryHolder.defaultEntry); + attributes_ = + com.google.protobuf.MapField.newMapField(AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); @@ -879,6 +930,8 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** + * + * *
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -887,22 +940,22 @@ public int getAttributesCount() {
      *
      * map<string, string> attributes = 4;
      */
-
     @java.lang.Override
-    public boolean containsAttributes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAttributes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAttributes().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAttributesMap()} instead.
-     */
+    /** Use {@link #getAttributesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAttributes() {
       return getAttributesMap();
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -912,11 +965,12 @@ public java.util.Map getAttributes() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-
     public java.util.Map getAttributesMap() {
       return internalGetAttributes().getMap();
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -926,16 +980,17 @@ public java.util.Map getAttributesMap() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-
     public java.lang.String getAttributesOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAttributes().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -945,12 +1000,11 @@ public java.lang.String getAttributesOrDefault(
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getAttributesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAttributes().getMap();
+    public java.lang.String getAttributesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAttributes().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -958,11 +1012,12 @@ public java.lang.String getAttributesOrThrow(
     }
 
     public Builder clearAttributes() {
-      internalGetMutableAttributes().getMutableMap()
-          .clear();
+      internalGetMutableAttributes().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -971,23 +1026,21 @@ public Builder clearAttributes() {
      *
      * map<string, string> attributes = 4;
      */
-
-    public Builder removeAttributes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAttributes().getMutableMap()
-          .remove(key);
+    public Builder removeAttributes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAttributes().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableAttributes() {
+    public java.util.Map getMutableAttributes() {
       return internalGetMutableAttributes().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -996,19 +1049,20 @@ public Builder removeAttributes(
      *
      * map<string, string> attributes = 4;
      */
-    public Builder putAttributes(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putAttributes(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableAttributes().getMutableMap()
-          .put(key, value);
+      internalGetMutableAttributes().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1017,16 +1071,13 @@ public Builder putAttributes(
      *
      * map<string, string> attributes = 4;
      */
-
-    public Builder putAllAttributes(
-        java.util.Map values) {
-      internalGetMutableAttributes().getMutableMap()
-          .putAll(values);
+    public Builder putAllAttributes(java.util.Map values) {
+      internalGetMutableAttributes().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1036,12 +1087,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.PubsubTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.PubsubTarget)
   private static final com.google.cloud.scheduler.v1.PubsubTarget DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.PubsubTarget();
   }
@@ -1050,16 +1101,16 @@ public static com.google.cloud.scheduler.v1.PubsubTarget getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PubsubTarget parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new PubsubTarget(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PubsubTarget parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new PubsubTarget(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1074,6 +1125,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1.PubsubTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
index e4e09398..74bf1dcc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/PubsubTargetOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/target.proto
 
 package com.google.cloud.scheduler.v1;
 
-public interface PubsubTargetOrBuilder extends
+public interface PubsubTargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.PubsubTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -18,10 +36,13 @@ public interface PubsubTargetOrBuilder extends
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The topicName. */ java.lang.String getTopicName(); /** + * + * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -32,12 +53,14 @@ public interface PubsubTargetOrBuilder extends
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topicName. */ - com.google.protobuf.ByteString - getTopicNameBytes(); + com.google.protobuf.ByteString getTopicNameBytes(); /** + * + * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -45,11 +68,14 @@ public interface PubsubTargetOrBuilder extends
    * 
* * bytes data = 3; + * * @return The data. */ com.google.protobuf.ByteString getData(); /** + * + * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -60,6 +86,8 @@ public interface PubsubTargetOrBuilder extends
    */
   int getAttributesCount();
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -68,15 +96,13 @@ public interface PubsubTargetOrBuilder extends
    *
    * map<string, string> attributes = 4;
    */
-  boolean containsAttributes(
-      java.lang.String key);
-  /**
-   * Use {@link #getAttributesMap()} instead.
-   */
+  boolean containsAttributes(java.lang.String key);
+  /** Use {@link #getAttributesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAttributes();
+  java.util.Map getAttributes();
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -85,9 +111,10 @@ boolean containsAttributes(
    *
    * map<string, string> attributes = 4;
    */
-  java.util.Map
-  getAttributesMap();
+  java.util.Map getAttributesMap();
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -98,11 +125,13 @@ boolean containsAttributes(
    */
 
   /* nullable */
-java.lang.String getAttributesOrDefault(
+  java.lang.String getAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -111,7 +140,5 @@ java.lang.String getAttributesOrDefault(
    *
    * map<string, string> attributes = 4;
    */
-
-  java.lang.String getAttributesOrThrow(
-      java.lang.String key);
+  java.lang.String getAttributesOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
similarity index 66%
rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
index 788b6aaf..cbc70eaa 100644
--- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
+++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1;
 
 /**
+ *
+ *
  * 
  * Request message for [ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.ResumeJobRequest} */ -public final class ResumeJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.ResumeJobRequest) ResumeJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeJobRequest.newBuilder() to construct. private ResumeJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ResumeJobRequest.class, com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1.ResumeJobRequest.class, + com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.ResumeJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.ResumeJobRequest other = (com.google.cloud.scheduler.v1.ResumeJobRequest) obj; + com.google.cloud.scheduler.v1.ResumeJobRequest other = + (com.google.cloud.scheduler.v1.ResumeJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.ResumeJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.ResumeJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.ResumeJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [ResumeJob][google.cloud.scheduler.v1.CloudScheduler.ResumeJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.ResumeJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.ResumeJobRequest) com.google.cloud.scheduler.v1.ResumeJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.ResumeJobRequest.class, com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1.ResumeJobRequest.class, + com.google.cloud.scheduler.v1.ResumeJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.ResumeJobRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.scheduler.v1.ResumeJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.ResumeJobRequest buildPartial() { - com.google.cloud.scheduler.v1.ResumeJobRequest result = new com.google.cloud.scheduler.v1.ResumeJobRequest(this); + com.google.cloud.scheduler.v1.ResumeJobRequest result = + new com.google.cloud.scheduler.v1.ResumeJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.scheduler.v1.ResumeJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.ResumeJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.ResumeJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1.ResumeJobRequest) other); } else { super.mergeFrom(other); return this; @@ -449,19 +486,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +511,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +536,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +616,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.ResumeJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.ResumeJobRequest) private static final com.google.cloud.scheduler.v1.ResumeJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.ResumeJobRequest(); } @@ -573,16 +630,16 @@ public static com.google.cloud.scheduler.v1.ResumeJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.ResumeJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java new file mode 100644 index 00000000..e3ef5414 --- /dev/null +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ResumeJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface ResumeJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.ResumeJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java index 135af3a6..3f363399 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/job.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Settings that determine the retry behavior.
  * By default, if a job does not complete successfully (meaning that
@@ -13,30 +30,29 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,62 +71,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            retryCount_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              retryCount_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoffDuration_ != null) {
-              subBuilder = minBackoffDuration_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoffDuration_ != null) {
+                subBuilder = minBackoffDuration_.toBuilder();
+              }
+              minBackoffDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoffDuration_);
+                minBackoffDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoffDuration_);
-              minBackoffDuration_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoffDuration_ != null) {
+                subBuilder = maxBackoffDuration_.toBuilder();
+              }
+              maxBackoffDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoffDuration_);
+                maxBackoffDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoffDuration_ != null) {
-              subBuilder = maxBackoffDuration_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoffDuration_);
-              maxBackoffDuration_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -118,29 +140,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.JobProto
+        .internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.JobProto
+        .internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.RetryConfig.class, com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
+            com.google.cloud.scheduler.v1.RetryConfig.class,
+            com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
   }
 
   public static final int RETRY_COUNT_FIELD_NUMBER = 1;
   private int retryCount_;
   /**
+   *
+   *
    * 
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -157,6 +183,7 @@ private RetryConfig(
    * 
* * int32 retry_count = 1; + * * @return The retryCount. */ @java.lang.Override @@ -167,6 +194,8 @@ public int getRetryCount() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -177,6 +206,7 @@ public int getRetryCount() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -184,6 +214,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -194,13 +226,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -220,6 +257,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoffDuration_;
   /**
+   *
+   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -227,6 +266,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return Whether the minBackoffDuration field is set. */ @java.lang.Override @@ -234,6 +274,8 @@ public boolean hasMinBackoffDuration() { return minBackoffDuration_ != null; } /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -241,13 +283,18 @@ public boolean hasMinBackoffDuration() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return The minBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinBackoffDuration() { - return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; + return minBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoffDuration_; } /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -264,6 +311,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
   public static final int MAX_BACKOFF_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoffDuration_;
   /**
+   *
+   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -271,6 +320,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return Whether the maxBackoffDuration field is set. */ @java.lang.Override @@ -278,6 +328,8 @@ public boolean hasMaxBackoffDuration() { return maxBackoffDuration_ != null; } /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -285,13 +337,18 @@ public boolean hasMaxBackoffDuration() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return The maxBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxBackoffDuration() { - return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; + return maxBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoffDuration_; } /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -308,6 +365,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -328,6 +387,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -336,6 +396,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +408,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retryCount_ != 0) { output.writeInt32(1, retryCount_); } @@ -374,24 +434,19 @@ public int getSerializedSize() { size = 0; if (retryCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, retryCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retryCount_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoffDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoffDuration()); } if (maxBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoffDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoffDuration()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -401,32 +456,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.RetryConfig)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.RetryConfig other = (com.google.cloud.scheduler.v1.RetryConfig) obj; + com.google.cloud.scheduler.v1.RetryConfig other = + (com.google.cloud.scheduler.v1.RetryConfig) obj; - if (getRetryCount() - != other.getRetryCount()) return false; + if (getRetryCount() != other.getRetryCount()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoffDuration() != other.hasMinBackoffDuration()) return false; if (hasMinBackoffDuration()) { - if (!getMinBackoffDuration() - .equals(other.getMinBackoffDuration())) return false; + if (!getMinBackoffDuration().equals(other.getMinBackoffDuration())) return false; } if (hasMaxBackoffDuration() != other.hasMaxBackoffDuration()) return false; if (hasMaxBackoffDuration()) { - if (!getMaxBackoffDuration() - .equals(other.getMaxBackoffDuration())) return false; + if (!getMaxBackoffDuration().equals(other.getMaxBackoffDuration())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -459,97 +510,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Settings that determine the retry behavior.
    * By default, if a job does not complete successfully (meaning that
@@ -559,21 +617,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.RetryConfig)
       com.google.cloud.scheduler.v1.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.JobProto
+          .internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.JobProto
+          .internal_static_google_cloud_scheduler_v1_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.RetryConfig.class, com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
+              com.google.cloud.scheduler.v1.RetryConfig.class,
+              com.google.cloud.scheduler.v1.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.RetryConfig.newBuilder()
@@ -581,16 +641,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -620,9 +679,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.JobProto.internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.JobProto
+          .internal_static_google_cloud_scheduler_v1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -641,7 +700,8 @@ public com.google.cloud.scheduler.v1.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.RetryConfig buildPartial() {
-      com.google.cloud.scheduler.v1.RetryConfig result = new com.google.cloud.scheduler.v1.RetryConfig(this);
+      com.google.cloud.scheduler.v1.RetryConfig result =
+          new com.google.cloud.scheduler.v1.RetryConfig(this);
       result.retryCount_ = retryCount_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -667,38 +727,39 @@ public com.google.cloud.scheduler.v1.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.RetryConfig) {
-        return mergeFrom((com.google.cloud.scheduler.v1.RetryConfig)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -751,8 +812,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int retryCount_ ;
+    private int retryCount_;
     /**
+     *
+     *
      * 
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -769,6 +832,7 @@ public Builder mergeFrom(
      * 
* * int32 retry_count = 1; + * * @return The retryCount. */ @java.lang.Override @@ -776,6 +840,8 @@ public int getRetryCount() { return retryCount_; } /** + * + * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -792,16 +858,19 @@ public int getRetryCount() {
      * 
* * int32 retry_count = 1; + * * @param value The retryCount to set. * @return This builder for chaining. */ public Builder setRetryCount(int value) { - + retryCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -818,10 +887,11 @@ public Builder setRetryCount(int value) {
      * 
* * int32 retry_count = 1; + * * @return This builder for chaining. */ public Builder clearRetryCount() { - + retryCount_ = 0; onChanged(); return this; @@ -829,8 +899,13 @@ public Builder clearRetryCount() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -841,12 +916,15 @@ public Builder clearRetryCount() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -857,16 +935,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -892,6 +975,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -903,8 +988,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -915,6 +999,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -930,7 +1016,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -942,6 +1030,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -965,6 +1055,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -977,11 +1069,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -997,11 +1091,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1014,14 +1111,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1029,8 +1129,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffDurationBuilder_;
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1038,12 +1143,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return Whether the minBackoffDuration field is set. */ public boolean hasMinBackoffDuration() { return minBackoffDurationBuilder_ != null || minBackoffDuration_ != null; } /** + * + * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1051,16 +1159,21 @@ public boolean hasMinBackoffDuration() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return The minBackoffDuration. */ public com.google.protobuf.Duration getMinBackoffDuration() { if (minBackoffDurationBuilder_ == null) { - return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; + return minBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoffDuration_; } else { return minBackoffDurationBuilder_.getMessage(); } } /** + * + * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1083,6 +1196,8 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1091,8 +1206,7 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
-    public Builder setMinBackoffDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffDurationBuilder_ == null) {
         minBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1103,6 +1217,8 @@ public Builder setMinBackoffDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1115,7 +1231,9 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       if (minBackoffDurationBuilder_ == null) {
         if (minBackoffDuration_ != null) {
           minBackoffDuration_ =
-            com.google.protobuf.Duration.newBuilder(minBackoffDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoffDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           minBackoffDuration_ = value;
         }
@@ -1127,6 +1245,8 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1147,6 +1267,8 @@ public Builder clearMinBackoffDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1156,11 +1278,13 @@ public Builder clearMinBackoffDuration() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffDurationBuilder() {
-      
+
       onChanged();
       return getMinBackoffDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1173,11 +1297,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
       if (minBackoffDurationBuilder_ != null) {
         return minBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoffDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_;
+        return minBackoffDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoffDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1187,14 +1314,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffDurationFieldBuilder() {
       if (minBackoffDurationBuilder_ == null) {
-        minBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoffDuration(),
-                getParentForChildren(),
-                isClean());
+        minBackoffDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoffDuration(), getParentForChildren(), isClean());
         minBackoffDuration_ = null;
       }
       return minBackoffDurationBuilder_;
@@ -1202,8 +1332,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffDurationBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1211,12 +1346,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return Whether the maxBackoffDuration field is set. */ public boolean hasMaxBackoffDuration() { return maxBackoffDurationBuilder_ != null || maxBackoffDuration_ != null; } /** + * + * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1224,16 +1362,21 @@ public boolean hasMaxBackoffDuration() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return The maxBackoffDuration. */ public com.google.protobuf.Duration getMaxBackoffDuration() { if (maxBackoffDurationBuilder_ == null) { - return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; + return maxBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoffDuration_; } else { return maxBackoffDurationBuilder_.getMessage(); } } /** + * + * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1256,6 +1399,8 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1264,8 +1409,7 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
-    public Builder setMaxBackoffDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffDurationBuilder_ == null) {
         maxBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1276,6 +1420,8 @@ public Builder setMaxBackoffDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1288,7 +1434,9 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       if (maxBackoffDurationBuilder_ == null) {
         if (maxBackoffDuration_ != null) {
           maxBackoffDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoffDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoffDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxBackoffDuration_ = value;
         }
@@ -1300,6 +1448,8 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1320,6 +1470,8 @@ public Builder clearMaxBackoffDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1329,11 +1481,13 @@ public Builder clearMaxBackoffDuration() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffDurationBuilder() {
-      
+
       onChanged();
       return getMaxBackoffDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1346,11 +1500,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
       if (maxBackoffDurationBuilder_ != null) {
         return maxBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoffDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_;
+        return maxBackoffDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoffDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1360,21 +1517,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxBackoffDurationFieldBuilder() {
       if (maxBackoffDurationBuilder_ == null) {
-        maxBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoffDuration(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoffDuration(), getParentForChildren(), isClean());
         maxBackoffDuration_ = null;
       }
       return maxBackoffDurationBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1395,6 +1557,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1402,6 +1565,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1422,16 +1587,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1452,17 +1620,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.RetryConfig) private static final com.google.cloud.scheduler.v1.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.RetryConfig(); } @@ -1486,16 +1655,16 @@ public static com.google.cloud.scheduler.v1.RetryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1510,6 +1679,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java similarity index 88% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java index d4a0c6cb..4409b41a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/job.proto package com.google.cloud.scheduler.v1; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -24,11 +42,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 retry_count = 1; + * * @return The retryCount. */ int getRetryCount(); /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -39,10 +60,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -53,10 +77,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -71,6 +98,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -78,10 +107,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return Whether the minBackoffDuration field is set. */ boolean hasMinBackoffDuration(); /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -89,10 +121,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return The minBackoffDuration. */ com.google.protobuf.Duration getMinBackoffDuration(); /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -104,6 +139,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -111,10 +148,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return Whether the maxBackoffDuration field is set. */ boolean hasMaxBackoffDuration(); /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -122,10 +162,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return The maxBackoffDuration. */ com.google.protobuf.Duration getMaxBackoffDuration(); /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -137,6 +180,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -157,6 +202,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java index 74e6333c..95dfb93f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Request message for forcing a job to run now using
  * [RunJob][google.cloud.scheduler.v1.CloudScheduler.RunJob].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1.RunJobRequest}
  */
-public final class RunJobRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunJobRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.RunJobRequest)
     RunJobRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunJobRequest.newBuilder() to construct.
   private RunJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private RunJobRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private RunJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1.RunJobRequest.class, com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1.RunJobRequest.class,
+            com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.RunJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.RunJobRequest other = (com.google.cloud.scheduler.v1.RunJobRequest) obj; + com.google.cloud.scheduler.v1.RunJobRequest other = + (com.google.cloud.scheduler.v1.RunJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.RunJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.RunJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.RunJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.RunJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a job to run now using
    * [RunJob][google.cloud.scheduler.v1.CloudScheduler.RunJob].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1.RunJobRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.RunJobRequest)
       com.google.cloud.scheduler.v1.RunJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1.RunJobRequest.class, com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1.RunJobRequest.class,
+              com.google.cloud.scheduler.v1.RunJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1.RunJobRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.scheduler.v1.RunJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1.RunJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1.RunJobRequest result = new com.google.cloud.scheduler.v1.RunJobRequest(this);
+      com.google.cloud.scheduler.v1.RunJobRequest result =
+          new com.google.cloud.scheduler.v1.RunJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.scheduler.v1.RunJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1.RunJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1.RunJobRequest)other);
+        return mergeFrom((com.google.cloud.scheduler.v1.RunJobRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,19 +488,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.RunJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.RunJobRequest) private static final com.google.cloud.scheduler.v1.RunJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.RunJobRequest(); } @@ -575,16 +632,16 @@ public static com.google.cloud.scheduler.v1.RunJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.RunJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java new file mode 100644 index 00000000..83083abf --- /dev/null +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/RunJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public interface RunJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.RunJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java new file mode 100644 index 00000000..bfc2b1cf --- /dev/null +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/SchedulerProto.java @@ -0,0 +1,246 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1; + +public final class SchedulerProto { + private SchedulerProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/cloud/scheduler/v1/cloudschedul" + + "er.proto\022\031google.cloud.scheduler.v1\032\034goo" + + "gle/api/annotations.proto\032\027google/api/cl" + + "ient.proto\032\037google/api/field_behavior.pr" + + "oto\032\031google/api/resource.proto\032#google/c" + + "loud/scheduler/v1/job.proto\032\033google/prot" + + "obuf/empty.proto\032 google/protobuf/field_" + + "mask.proto\"s\n\017ListJobsRequest\0229\n\006parent\030" + + "\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googleapis" + + ".com/Job\022\021\n\tpage_size\030\005 \001(\005\022\022\n\npage_toke" + + "n\030\006 \001(\t\"Y\n\020ListJobsResponse\022,\n\004jobs\030\001 \003(" + + "\0132\036.google.cloud.scheduler.v1.Job\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"H\n\rGetJobRequest\0227\n\004n" + + "ame\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.google" + + "apis.com/Job\"\177\n\020CreateJobRequest\0229\n\006pare" + + "nt\030\001 \001(\tB)\340A\002\372A#\022!cloudscheduler.googlea" + + "pis.com/Job\0220\n\003job\030\002 \001(\0132\036.google.cloud." + + "scheduler.v1.JobB\003\340A\002\"z\n\020UpdateJobReques" + + "t\0220\n\003job\030\001 \001(\0132\036.google.cloud.scheduler." + + "v1.JobB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\002\"K\n\020DeleteJobRe" + + "quest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudschedu" + + "ler.googleapis.com/Job\"J\n\017PauseJobReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler." + + "googleapis.com/Job\"K\n\020ResumeJobRequest\0227" + + "\n\004name\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.goo" + + "gleapis.com/Job\"H\n\rRunJobRequest\0227\n\004name" + + "\030\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapi" + + "s.com/Job2\263\n\n\016CloudScheduler\022\236\001\n\010ListJob" + + "s\022*.google.cloud.scheduler.v1.ListJobsRe" + + "quest\032+.google.cloud.scheduler.v1.ListJo" + + "bsResponse\"9\202\323\344\223\002*\022(/v1/{parent=projects" + + "/*/locations/*}/jobs\332A\006parent\022\213\001\n\006GetJob" + + "\022(.google.cloud.scheduler.v1.GetJobReque" + + "st\032\036.google.cloud.scheduler.v1.Job\"7\202\323\344\223" + + "\002*\022(/v1/{name=projects/*/locations/*/job" + + "s/*}\332A\004name\022\234\001\n\tCreateJob\022+.google.cloud" + + ".scheduler.v1.CreateJobRequest\032\036.google." + + "cloud.scheduler.v1.Job\"B\202\323\344\223\002/\"(/v1/{par" + + "ent=projects/*/locations/*}/jobs:\003job\332A\n" + + "parent,job\022\245\001\n\tUpdateJob\022+.google.cloud." + + "scheduler.v1.UpdateJobRequest\032\036.google.c" + + "loud.scheduler.v1.Job\"K\202\323\344\223\00232,/v1/{job." + + "name=projects/*/locations/*/jobs/*}:\003job" + + "\332A\017job,update_mask\022\211\001\n\tDeleteJob\022+.googl" + + "e.cloud.scheduler.v1.DeleteJobRequest\032\026." + + "google.protobuf.Empty\"7\202\323\344\223\002**(/v1/{name" + + "=projects/*/locations/*/jobs/*}\332A\004name\022\230" + + "\001\n\010PauseJob\022*.google.cloud.scheduler.v1." + + "PauseJobRequest\032\036.google.cloud.scheduler" + + ".v1.Job\"@\202\323\344\223\0023\"./v1/{name=projects/*/lo" + + "cations/*/jobs/*}:pause:\001*\332A\004name\022\233\001\n\tRe" + + "sumeJob\022+.google.cloud.scheduler.v1.Resu" + + "meJobRequest\032\036.google.cloud.scheduler.v1" + + ".Job\"A\202\323\344\223\0024\"//v1/{name=projects/*/locat" + + "ions/*/jobs/*}:resume:\001*\332A\004name\022\222\001\n\006RunJ" + + "ob\022(.google.cloud.scheduler.v1.RunJobReq" + + "uest\032\036.google.cloud.scheduler.v1.Job\">\202\323" + + "\344\223\0021\",/v1/{name=projects/*/locations/*/j" + + "obs/*}:run:\001*\332A\004name\032Q\312A\035cloudscheduler." + + "googleapis.com\322A.https://www.googleapis." + + "com/auth/cloud-platformB\201\001\n\035com.google.c" + + "loud.scheduler.v1B\016SchedulerProtoP\001ZBgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/scheduler/v1;scheduler\242\002\tSCHEDULERb\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.scheduler.v1.JobProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1_ListJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_ListJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1_ListJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_ListJobsResponse_descriptor, + new java.lang.String[] { + "Jobs", "NextPageToken", + }); + internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1_GetJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_GetJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1_CreateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_CreateJobRequest_descriptor, + new java.lang.String[] { + "Parent", "Job", + }); + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor, + new java.lang.String[] { + "Job", "UpdateMask", + }); + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_DeleteJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_scheduler_v1_PauseJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_PauseJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_ResumeJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_scheduler_v1_RunJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_RunJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.scheduler.v1.JobProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java new file mode 100644 index 00000000..45c00301 --- /dev/null +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/TargetProto.java @@ -0,0 +1,213 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1/target.proto + +package com.google.cloud.scheduler.v1; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n&google/cloud/scheduler/v1/target.proto" + + "\022\031google.cloud.scheduler.v1\032\031google/api/" + + "resource.proto\032\034google/api/annotations.p" + + "roto\"\352\002\n\nHttpTarget\022\013\n\003uri\030\001 \001(\t\022:\n\013http" + + "_method\030\002 \001(\0162%.google.cloud.scheduler.v" + + "1.HttpMethod\022C\n\007headers\030\003 \003(\01322.google.c" + + "loud.scheduler.v1.HttpTarget.HeadersEntr" + + "y\022\014\n\004body\030\004 \001(\014\022<\n\013oauth_token\030\005 \001(\0132%.g" + + "oogle.cloud.scheduler.v1.OAuthTokenH\000\022:\n" + + "\noidc_token\030\006 \001(\0132$.google.cloud.schedul" + + "er.v1.OidcTokenH\000\032.\n\014HeadersEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\026\n\024authorizati" + + "on_header\"\274\002\n\023AppEngineHttpTarget\022:\n\013htt" + + "p_method\030\001 \001(\0162%.google.cloud.scheduler." + + "v1.HttpMethod\022G\n\022app_engine_routing\030\002 \001(" + + "\0132+.google.cloud.scheduler.v1.AppEngineR" + + "outing\022\024\n\014relative_uri\030\003 \001(\t\022L\n\007headers\030" + + "\004 \003(\0132;.google.cloud.scheduler.v1.AppEng" + + "ineHttpTarget.HeadersEntry\022\014\n\004body\030\005 \001(\014" + + "\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001\"\322\001\n\014PubsubTarget\0224\n\ntopic_name\030" + + "\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/Topic\022" + + "\014\n\004data\030\003 \001(\014\022K\n\nattributes\030\004 \003(\01327.goog" + + "le.cloud.scheduler.v1.PubsubTarget.Attri" + + "butesEntry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRoutin" + + "g\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020\n\010i" + + "nstance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthToke" + + "n\022\035\n\025service_account_email\030\001 \001(\t\022\r\n\005scop" + + "e\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_account_" + + "email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttpMet" + + "hod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004POST" + + "\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE" + + "\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\265\001\n\035com.googl" + + "e.cloud.scheduler.v1B\013TargetProtoP\001ZBgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/scheduler/v1;scheduler\352A@\n\033pubsub.googl" + + "eapis.com/Topic\022!projects/{project}/topi" + + "cs/{topic}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1_HttpTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor, + new java.lang.String[] { + "Uri", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1_HttpTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_HttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_AppEngineHttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1_PubsubTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor, + new java.lang.String[] { + "TopicName", "Data", "Attributes", + }); + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor = + internal_static_google_cloud_scheduler_v1_PubsubTarget_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_PubsubTarget_AttributesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_scheduler_v1_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java index b6d68229..eca5f0df 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; /** + * + * *
  * Request message for [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1.UpdateJobRequest} */ -public final class UpdateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1.UpdateJobRequest) UpdateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateJobRequest() { - } + + private UpdateJobRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,43 @@ private UpdateJobRequest( case 0: done = true; break; - case 10: { - com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.scheduler.v1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); + } + job_ = + input.readMessage(com.google.cloud.scheduler.v1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,29 +112,33 @@ private UpdateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.UpdateJobRequest.class, com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.UpdateJobRequest.class, + com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.scheduler.v1.Job job_; /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -122,6 +146,7 @@ private UpdateJobRequest(
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ @java.lang.Override @@ -129,6 +154,8 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -136,6 +163,7 @@ public boolean hasJob() {
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ @java.lang.Override @@ -143,6 +171,8 @@ public com.google.cloud.scheduler.v1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -159,11 +189,15 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() {
   public static final int UPDATE_MASK_FIELD_NUMBER = 2;
   private com.google.protobuf.FieldMask updateMask_;
   /**
+   *
+   *
    * 
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -171,11 +205,15 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ @java.lang.Override @@ -183,11 +221,14 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -195,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +248,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -224,12 +265,10 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +278,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1.UpdateJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1.UpdateJobRequest other = (com.google.cloud.scheduler.v1.UpdateJobRequest) obj; + com.google.cloud.scheduler.v1.UpdateJobRequest other = + (com.google.cloud.scheduler.v1.UpdateJobRequest) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -280,118 +318,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1.UpdateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1.UpdateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [UpdateJob][google.cloud.scheduler.v1.CloudScheduler.UpdateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1.UpdateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1.UpdateJobRequest) com.google.cloud.scheduler.v1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1.UpdateJobRequest.class, com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1.UpdateJobRequest.class, + com.google.cloud.scheduler.v1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1.UpdateJobRequest.newBuilder() @@ -399,16 +446,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1.SchedulerProto.internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1.SchedulerProto + .internal_static_google_cloud_scheduler_v1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -449,7 +495,8 @@ public com.google.cloud.scheduler.v1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1.UpdateJobRequest buildPartial() { - com.google.cloud.scheduler.v1.UpdateJobRequest result = new com.google.cloud.scheduler.v1.UpdateJobRequest(this); + com.google.cloud.scheduler.v1.UpdateJobRequest result = + new com.google.cloud.scheduler.v1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -468,38 +515,39 @@ public com.google.cloud.scheduler.v1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1.UpdateJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1.UpdateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -545,28 +593,39 @@ public Builder mergeFrom( private com.google.cloud.scheduler.v1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> jobBuilder_; + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.scheduler.v1.Job getJob() { @@ -577,13 +636,16 @@ public com.google.cloud.scheduler.v1.Job getJob() { } } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { @@ -599,16 +661,18 @@ public Builder setJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.scheduler.v1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.scheduler.v1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -619,19 +683,21 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = - com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = com.google.cloud.scheduler.v1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -643,13 +709,16 @@ public Builder mergeJob(com.google.cloud.scheduler.v1.Job value) { return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -663,54 +732,65 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.scheduler.v1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder> + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1.Job, com.google.cloud.scheduler.v1.Job.Builder, com.google.cloud.scheduler.v1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1.Job, + com.google.cloud.scheduler.v1.Job.Builder, + com.google.cloud.scheduler.v1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -718,39 +798,55 @@ public com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -766,14 +862,16 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,17 +882,20 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -806,11 +907,14 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -824,55 +928,68 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1.UpdateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1.UpdateJobRequest) private static final com.google.cloud.scheduler.v1.UpdateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1.UpdateJobRequest(); } @@ -896,16 +1013,16 @@ public static com.google.cloud.scheduler.v1.UpdateJobRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1037,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1.UpdateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java rename to proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java index 7f5e2e40..3d8fc440 100644 --- a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java +++ b/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/UpdateJobRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1/cloudscheduler.proto package com.google.cloud.scheduler.v1; -public interface UpdateJobRequestOrBuilder extends +public interface UpdateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1.UpdateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -15,10 +33,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -26,10 +47,13 @@ public interface UpdateJobRequestOrBuilder extends
    * 
* * .google.cloud.scheduler.v1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The job. */ com.google.cloud.scheduler.v1.Job getJob(); /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
@@ -41,29 +65,40 @@ public interface UpdateJobRequestOrBuilder extends
   com.google.cloud.scheduler.v1.JobOrBuilder getJobOrBuilder();
 
   /**
+   *
+   *
    * 
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto b/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto rename to proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/cloudscheduler.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto b/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto rename to proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/job.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto b/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto rename to proto-google-cloud-scheduler-v1/src/main/proto/google/cloud/scheduler/v1/target.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java similarity index 76% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java index 93519b98..bbc7a646 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * App Engine target. The job will be pushed to a job handler by means
  * of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineHttpTarget}
  */
-public final class AppEngineHttpTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineHttpTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.AppEngineHttpTarget)
     AppEngineHttpTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineHttpTarget.newBuilder() to construct.
   private AppEngineHttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineHttpTarget() {
     httpMethod_ = 0;
     relativeUri_ = "";
@@ -35,16 +53,15 @@ private AppEngineHttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineHttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineHttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -64,56 +81,63 @@ private AppEngineHttpTarget(
           case 0:
             done = true;
             break;
-          case 8: {
-            int rawValue = input.readEnum();
+          case 8:
+            {
+              int rawValue = input.readEnum();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 18: {
-            com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder subBuilder = null;
-            if (appEngineRouting_ != null) {
-              subBuilder = appEngineRouting_.toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            appEngineRouting_ = input.readMessage(com.google.cloud.scheduler.v1beta1.AppEngineRouting.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(appEngineRouting_);
-              appEngineRouting_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder subBuilder = null;
+              if (appEngineRouting_ != null) {
+                subBuilder = appEngineRouting_.toBuilder();
+              }
+              appEngineRouting_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1beta1.AppEngineRouting.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(appEngineRouting_);
+                appEngineRouting_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            relativeUri_ = s;
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              relativeUri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 42: {
-
-            body_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
+            }
+          case 42:
+            {
+              body_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -121,75 +145,88 @@ private AppEngineHttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class,
+            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
   }
 
   public static final int HTTP_METHOD_FIELD_NUMBER = 1;
   private int httpMethod_;
   /**
+   *
+   *
    * 
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = + com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } public static final int APP_ENGINE_ROUTING_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1beta1.AppEngineRouting appEngineRouting_; /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ @java.lang.Override @@ -197,18 +234,25 @@ public boolean hasAppEngineRouting() { return appEngineRouting_ != null; } /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting() { - return appEngineRouting_ == null ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } /** + * + * *
    * App Engine Routing setting for the job.
    * 
@@ -216,13 +260,16 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting() * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder + getAppEngineRoutingOrBuilder() { return getAppEngineRouting(); } public static final int RELATIVE_URI_FIELD_NUMBER = 3; private volatile java.lang.Object relativeUri_; /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -232,6 +279,7 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngine
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ @java.lang.Override @@ -240,14 +288,15 @@ public java.lang.String getRelativeUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; } } /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -257,16 +306,15 @@ public java.lang.String getRelativeUri() {
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -275,24 +323,23 @@ public java.lang.String getRelativeUri() { } public static final int HEADERS_FIELD_NUMBER = 4; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.scheduler.v1beta1.TargetProto + .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -301,6 +348,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -330,22 +379,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 4;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -376,11 +425,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -411,16 +461,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -451,12 +501,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -466,6 +515,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -474,6 +525,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -482,6 +534,7 @@ public com.google.protobuf.ByteString getBody() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -493,9 +546,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (httpMethod_ + != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, httpMethod_); } if (appEngineRouting_ != null) { @@ -504,12 +557,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, relativeUri_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetHeaders(), - HeadersDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 4); if (!body_.isEmpty()) { output.writeBytes(5, body_); } @@ -522,30 +571,28 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, httpMethod_); + if (httpMethod_ + != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, httpMethod_); } if (appEngineRouting_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAppEngineRouting()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAppEngineRouting()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relativeUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, relativeUri_); } - for (java.util.Map.Entry entry - : internalGetHeaders().getMap().entrySet()) { - com.google.protobuf.MapEntry - headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, headers__); + for (java.util.Map.Entry entry : + internalGetHeaders().getMap().entrySet()) { + com.google.protobuf.MapEntry headers__ = + HeadersDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, headers__); } if (!body_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, body_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, body_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -555,25 +602,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget other = (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) obj; + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget other = + (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) obj; if (httpMethod_ != other.httpMethod_) return false; if (hasAppEngineRouting() != other.hasAppEngineRouting()) return false; if (hasAppEngineRouting()) { - if (!getAppEngineRouting() - .equals(other.getAppEngineRouting())) return false; - } - if (!getRelativeUri() - .equals(other.getRelativeUri())) return false; - if (!internalGetHeaders().equals( - other.internalGetHeaders())) return false; - if (!getBody() - .equals(other.getBody())) return false; + if (!getAppEngineRouting().equals(other.getAppEngineRouting())) return false; + } + if (!getRelativeUri().equals(other.getRelativeUri())) return false; + if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; + if (!getBody().equals(other.getBody())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -605,96 +649,104 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget prototype) { + + public static Builder newBuilder( + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine target. The job will be pushed to a job handler by means
    * of an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.http_method] such
@@ -709,43 +761,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineHttpTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.AppEngineHttpTarget)
       com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.class,
+              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.newBuilder()
@@ -753,16 +805,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -783,9 +834,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -804,7 +855,8 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget result = new com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget(this);
+      com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget result =
+          new com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.httpMethod_ = httpMethod_;
       if (appEngineRoutingBuilder_ == null) {
@@ -824,38 +876,39 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -863,7 +916,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget other) {
-      if (other == com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance()) return this;
+      if (other == com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance())
+        return this;
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
@@ -874,8 +928,7 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget
         relativeUri_ = other.relativeUri_;
         onChanged();
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
@@ -898,7 +951,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -907,59 +961,74 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private int httpMethod_ = 0;
     /**
+     *
+     *
      * 
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = + com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -967,22 +1036,25 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1beta1.HttpMethod value if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The HTTP method to use for the request. PATCH and OPTIONS are not
      * permitted.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; @@ -990,34 +1062,47 @@ public Builder clearHttpMethod() { private com.google.cloud.scheduler.v1beta1.AppEngineRouting appEngineRouting_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineRouting, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> appEngineRoutingBuilder_; + com.google.cloud.scheduler.v1beta1.AppEngineRouting, + com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, + com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> + appEngineRoutingBuilder_; /** + * + * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ public boolean hasAppEngineRouting() { return appEngineRoutingBuilder_ != null || appEngineRouting_ != null; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ public com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting() { if (appEngineRoutingBuilder_ == null) { - return appEngineRouting_ == null ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } else { return appEngineRoutingBuilder_.getMessage(); } } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1038,6 +1123,8 @@ public Builder setAppEngineRouting(com.google.cloud.scheduler.v1beta1.AppEngineR return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1056,17 +1143,22 @@ public Builder setAppEngineRouting( return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ - public Builder mergeAppEngineRouting(com.google.cloud.scheduler.v1beta1.AppEngineRouting value) { + public Builder mergeAppEngineRouting( + com.google.cloud.scheduler.v1beta1.AppEngineRouting value) { if (appEngineRoutingBuilder_ == null) { if (appEngineRouting_ != null) { appEngineRouting_ = - com.google.cloud.scheduler.v1beta1.AppEngineRouting.newBuilder(appEngineRouting_).mergeFrom(value).buildPartial(); + com.google.cloud.scheduler.v1beta1.AppEngineRouting.newBuilder(appEngineRouting_) + .mergeFrom(value) + .buildPartial(); } else { appEngineRouting_ = value; } @@ -1078,6 +1170,8 @@ public Builder mergeAppEngineRouting(com.google.cloud.scheduler.v1beta1.AppEngin return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1096,33 +1190,42 @@ public Builder clearAppEngineRouting() { return this; } /** + * + * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ - public com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder getAppEngineRoutingBuilder() { - + public com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder + getAppEngineRoutingBuilder() { + onChanged(); return getAppEngineRoutingFieldBuilder().getBuilder(); } /** + * + * *
      * App Engine Routing setting for the job.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ - public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder + getAppEngineRoutingOrBuilder() { if (appEngineRoutingBuilder_ != null) { return appEngineRoutingBuilder_.getMessageOrBuilder(); } else { - return appEngineRouting_ == null ? - com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() : appEngineRouting_; + return appEngineRouting_ == null + ? com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance() + : appEngineRouting_; } } /** + * + * *
      * App Engine Routing setting for the job.
      * 
@@ -1130,14 +1233,17 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngine * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineRouting, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> + com.google.cloud.scheduler.v1beta1.AppEngineRouting, + com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, + com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder> getAppEngineRoutingFieldBuilder() { if (appEngineRoutingBuilder_ == null) { - appEngineRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineRouting, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder>( - getAppEngineRouting(), - getParentForChildren(), - isClean()); + appEngineRoutingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.AppEngineRouting, + com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder, + com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder>( + getAppEngineRouting(), getParentForChildren(), isClean()); appEngineRouting_ = null; } return appEngineRoutingBuilder_; @@ -1145,6 +1251,8 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngine private java.lang.Object relativeUri_ = ""; /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1154,13 +1262,13 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngine
      * 
* * string relative_uri = 3; + * * @return The relativeUri. */ public java.lang.String getRelativeUri() { java.lang.Object ref = relativeUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); relativeUri_ = s; return s; @@ -1169,6 +1277,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1178,15 +1288,14 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - public com.google.protobuf.ByteString - getRelativeUriBytes() { + public com.google.protobuf.ByteString getRelativeUriBytes() { java.lang.Object ref = relativeUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); relativeUri_ = b; return b; } else { @@ -1194,6 +1303,8 @@ public java.lang.String getRelativeUri() { } } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1203,20 +1314,22 @@ public java.lang.String getRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUri( - java.lang.String value) { + public Builder setRelativeUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + relativeUri_ = value; onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1226,15 +1339,18 @@ public Builder setRelativeUri(
      * 
* * string relative_uri = 3; + * * @return This builder for chaining. */ public Builder clearRelativeUri() { - + relativeUri_ = getDefaultInstance().getRelativeUri(); onChanged(); return this; } /** + * + * *
      * The relative URI.
      * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -1244,37 +1360,36 @@ public Builder clearRelativeUri() {
      * 
* * string relative_uri = 3; + * * @param value The bytes for relativeUri to set. * @return This builder for chaining. */ - public Builder setRelativeUriBytes( - com.google.protobuf.ByteString value) { + public Builder setRelativeUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + relativeUri_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1286,6 +1401,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1315,22 +1432,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 4;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1361,11 +1478,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1396,16 +1514,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1436,12 +1555,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1449,11 +1567,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1483,23 +1602,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1529,19 +1646,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 4;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * HTTP request headers.
      * This map contains the header field names and values. Headers can be set
@@ -1571,16 +1689,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 4;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1589,6 +1706,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 5; + * * @return The body. */ @java.lang.Override @@ -1596,6 +1714,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1604,19 +1724,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 5; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * Body.
      * HTTP request body. A request body is allowed only if the HTTP method is
@@ -1625,17 +1748,18 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 5; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1645,12 +1769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.AppEngineHttpTarget) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.AppEngineHttpTarget) private static final com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget(); } @@ -1659,16 +1783,16 @@ public static com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineHttpTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineHttpTarget(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineHttpTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineHttpTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1683,6 +1807,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java similarity index 89% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java index 902edae2..61abe1e0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineHttpTargetOrBuilder.java @@ -1,52 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface AppEngineHttpTargetOrBuilder extends +public interface AppEngineHttpTargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.AppEngineHttpTarget) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * The HTTP method to use for the request. PATCH and OPTIONS are not
    * permitted.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 1; + * * @return The httpMethod. */ com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod(); /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; + * * @return Whether the appEngineRouting field is set. */ boolean hasAppEngineRouting(); /** + * + * *
    * App Engine Routing setting for the job.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineRouting app_engine_routing = 2; + * * @return The appEngineRouting. */ com.google.cloud.scheduler.v1beta1.AppEngineRouting getAppEngineRouting(); /** + * + * *
    * App Engine Routing setting for the job.
    * 
@@ -56,6 +86,8 @@ public interface AppEngineHttpTargetOrBuilder extends com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder getAppEngineRoutingOrBuilder(); /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -65,10 +97,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The relativeUri. */ java.lang.String getRelativeUri(); /** + * + * *
    * The relative URI.
    * The relative URL must begin with "/" and must be a valid HTTP relative URL.
@@ -78,12 +113,14 @@ public interface AppEngineHttpTargetOrBuilder extends
    * 
* * string relative_uri = 3; + * * @return The bytes for relativeUri. */ - com.google.protobuf.ByteString - getRelativeUriBytes(); + com.google.protobuf.ByteString getRelativeUriBytes(); /** + * + * *
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -115,6 +152,8 @@ public interface AppEngineHttpTargetOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -144,15 +183,13 @@ public interface AppEngineHttpTargetOrBuilder extends
    *
    * map<string, string> headers = 4;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -182,9 +219,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 4;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -216,11 +254,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * HTTP request headers.
    * This map contains the header field names and values. Headers can be set
@@ -250,11 +290,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 4;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Body.
    * HTTP request body. A request body is allowed only if the HTTP method is
@@ -263,6 +303,7 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 5; + * * @return The body. */ com.google.protobuf.ByteString getBody(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java similarity index 83% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java index 12f43d14..6269927f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRouting.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * App Engine Routing.
  * For more information about services, versions, and instances see
@@ -19,15 +36,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineRouting}
  */
-public final class AppEngineRouting extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AppEngineRouting extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.AppEngineRouting)
     AppEngineRoutingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AppEngineRouting.newBuilder() to construct.
   private AppEngineRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AppEngineRouting() {
     service_ = "";
     version_ = "";
@@ -37,16 +55,15 @@ private AppEngineRouting() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppEngineRouting();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AppEngineRouting(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -65,37 +82,41 @@ private AppEngineRouting(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            service_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              service_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              version_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            instance_ = s;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              instance_ = s;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            host_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              host_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -103,29 +124,33 @@ private AppEngineRouting(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.AppEngineRouting.class, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
+            com.google.cloud.scheduler.v1beta1.AppEngineRouting.class,
+            com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
   }
 
   public static final int SERVICE_FIELD_NUMBER = 1;
   private volatile java.lang.Object service_;
   /**
+   *
+   *
    * 
    * App service.
    * By default, the job is sent to the service which is the default
@@ -133,6 +158,7 @@ private AppEngineRouting(
    * 
* * string service = 1; + * * @return The service. */ @java.lang.Override @@ -141,14 +167,15 @@ public java.lang.String getService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; } } /** + * + * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -156,16 +183,15 @@ public java.lang.String getService() {
    * 
* * string service = 1; + * * @return The bytes for service. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -176,6 +202,8 @@ public java.lang.String getService() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -183,6 +211,7 @@ public java.lang.String getService() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -191,14 +220,15 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -206,16 +236,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -226,6 +255,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_FIELD_NUMBER = 3; private volatile java.lang.Object instance_; /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -241,6 +272,7 @@ public java.lang.String getVersion() {
    * 
* * string instance = 3; + * * @return The instance. */ @java.lang.Override @@ -249,14 +281,15 @@ public java.lang.String getInstance() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; } } /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -272,16 +305,15 @@ public java.lang.String getInstance() {
    * 
* * string instance = 3; + * * @return The bytes for instance. */ @java.lang.Override - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -292,6 +324,8 @@ public java.lang.String getInstance() { public static final int HOST_FIELD_NUMBER = 4; private volatile java.lang.Object host_; /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -337,6 +371,7 @@ public java.lang.String getInstance() {
    * 
* * string host = 4; + * * @return The host. */ @java.lang.Override @@ -345,14 +380,15 @@ public java.lang.String getHost() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } } /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -398,16 +434,15 @@ public java.lang.String getHost() {
    * 
* * string host = 4; + * * @return The bytes for host. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -416,6 +451,7 @@ public java.lang.String getHost() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -427,8 +463,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, service_); } @@ -470,21 +505,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.AppEngineRouting)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.AppEngineRouting other = (com.google.cloud.scheduler.v1beta1.AppEngineRouting) obj; - - if (!getService() - .equals(other.getService())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstance() - .equals(other.getInstance())) return false; - if (!getHost() - .equals(other.getHost())) return false; + com.google.cloud.scheduler.v1beta1.AppEngineRouting other = + (com.google.cloud.scheduler.v1beta1.AppEngineRouting) obj; + + if (!getService().equals(other.getService())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstance().equals(other.getInstance())) return false; + if (!getHost().equals(other.getHost())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -510,96 +542,103 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.AppEngineRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.AppEngineRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * App Engine Routing.
    * For more information about services, versions, and instances see
@@ -615,21 +654,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.AppEngineRouting}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.AppEngineRouting)
       com.google.cloud.scheduler.v1beta1.AppEngineRoutingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.AppEngineRouting.class, com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
+              com.google.cloud.scheduler.v1beta1.AppEngineRouting.class,
+              com.google.cloud.scheduler.v1beta1.AppEngineRouting.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.AppEngineRouting.newBuilder()
@@ -637,16 +678,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -662,9 +702,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor;
     }
 
     @java.lang.Override
@@ -683,7 +723,8 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRouting build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.AppEngineRouting buildPartial() {
-      com.google.cloud.scheduler.v1beta1.AppEngineRouting result = new com.google.cloud.scheduler.v1beta1.AppEngineRouting(this);
+      com.google.cloud.scheduler.v1beta1.AppEngineRouting result =
+          new com.google.cloud.scheduler.v1beta1.AppEngineRouting(this);
       result.service_ = service_;
       result.version_ = version_;
       result.instance_ = instance_;
@@ -696,38 +737,39 @@ public com.google.cloud.scheduler.v1beta1.AppEngineRouting buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.AppEngineRouting) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineRouting)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineRouting) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -735,7 +777,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.AppEngineRouting other) {
-      if (other == com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance()) return this;
+      if (other == com.google.cloud.scheduler.v1beta1.AppEngineRouting.getDefaultInstance())
+        return this;
       if (!other.getService().isEmpty()) {
         service_ = other.service_;
         onChanged();
@@ -771,7 +814,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.scheduler.v1beta1.AppEngineRouting) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.scheduler.v1beta1.AppEngineRouting) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -783,6 +827,8 @@ public Builder mergeFrom(
 
     private java.lang.Object service_ = "";
     /**
+     *
+     *
      * 
      * App service.
      * By default, the job is sent to the service which is the default
@@ -790,13 +836,13 @@ public Builder mergeFrom(
      * 
* * string service = 1; + * * @return The service. */ public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); service_ = s; return s; @@ -805,6 +851,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -812,15 +860,14 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @return The bytes for service. */ - public com.google.protobuf.ByteString - getServiceBytes() { + public com.google.protobuf.ByteString getServiceBytes() { java.lang.Object ref = service_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); service_ = b; return b; } else { @@ -828,6 +875,8 @@ public java.lang.String getService() { } } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -835,20 +884,22 @@ public java.lang.String getService() {
      * 
* * string service = 1; + * * @param value The service to set. * @return This builder for chaining. */ - public Builder setService( - java.lang.String value) { + public Builder setService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + service_ = value; onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -856,15 +907,18 @@ public Builder setService(
      * 
* * string service = 1; + * * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** + * + * *
      * App service.
      * By default, the job is sent to the service which is the default
@@ -872,16 +926,16 @@ public Builder clearService() {
      * 
* * string service = 1; + * * @param value The bytes for service to set. * @return This builder for chaining. */ - public Builder setServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + service_ = value; onChanged(); return this; @@ -889,6 +943,8 @@ public Builder setServiceBytes( private java.lang.Object version_ = ""; /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -896,13 +952,13 @@ public Builder setServiceBytes(
      * 
* * string version = 2; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -911,6 +967,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -918,15 +976,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -934,6 +991,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -941,20 +1000,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -962,15 +1023,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * App version.
      * By default, the job is sent to the version which is the default
@@ -978,16 +1042,16 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -995,6 +1059,8 @@ public Builder setVersionBytes( private java.lang.Object instance_ = ""; /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1010,13 +1076,13 @@ public Builder setVersionBytes(
      * 
* * string instance = 3; + * * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instance_ = s; return s; @@ -1025,6 +1091,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1040,15 +1108,14 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @return The bytes for instance. */ - public com.google.protobuf.ByteString - getInstanceBytes() { + public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); instance_ = b; return b; } else { @@ -1056,6 +1123,8 @@ public java.lang.String getInstance() { } } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1071,20 +1140,22 @@ public java.lang.String getInstance() {
      * 
* * string instance = 3; + * * @param value The instance to set. * @return This builder for chaining. */ - public Builder setInstance( - java.lang.String value) { + public Builder setInstance(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instance_ = value; onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1100,15 +1171,18 @@ public Builder setInstance(
      * 
* * string instance = 3; + * * @return This builder for chaining. */ public Builder clearInstance() { - + instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** + * + * *
      * App instance.
      * By default, the job is sent to an instance which is available when
@@ -1124,16 +1198,16 @@ public Builder clearInstance() {
      * 
* * string instance = 3; + * * @param value The bytes for instance to set. * @return This builder for chaining. */ - public Builder setInstanceBytes( - com.google.protobuf.ByteString value) { + public Builder setInstanceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instance_ = value; onChanged(); return this; @@ -1141,6 +1215,8 @@ public Builder setInstanceBytes( private java.lang.Object host_ = ""; /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1186,13 +1262,13 @@ public Builder setInstanceBytes(
      * 
* * string host = 4; + * * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; @@ -1201,6 +1277,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1246,15 +1324,14 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @return The bytes for host. */ - public com.google.protobuf.ByteString - getHostBytes() { + public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); host_ = b; return b; } else { @@ -1262,6 +1339,8 @@ public java.lang.String getHost() { } } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1307,20 +1386,22 @@ public java.lang.String getHost() {
      * 
* * string host = 4; + * * @param value The host to set. * @return This builder for chaining. */ - public Builder setHost( - java.lang.String value) { + public Builder setHost(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + host_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1366,15 +1447,18 @@ public Builder setHost(
      * 
* * string host = 4; + * * @return This builder for chaining. */ public Builder clearHost() { - + host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** + * + * *
      * Output only. The host that the job is sent to.
      * For more information about how App Engine requests are routed, see
@@ -1420,23 +1504,23 @@ public Builder clearHost() {
      * 
* * string host = 4; + * * @param value The bytes for host to set. * @return This builder for chaining. */ - public Builder setHostBytes( - com.google.protobuf.ByteString value) { + public Builder setHostBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + host_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1446,12 +1530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.AppEngineRouting) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.AppEngineRouting) private static final com.google.cloud.scheduler.v1beta1.AppEngineRouting DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.AppEngineRouting(); } @@ -1460,16 +1544,16 @@ public static com.google.cloud.scheduler.v1beta1.AppEngineRouting getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppEngineRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AppEngineRouting(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppEngineRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppEngineRouting(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1484,6 +1568,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.AppEngineRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java similarity index 90% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java index 21534e22..908273e9 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/AppEngineRoutingOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface AppEngineRoutingOrBuilder extends +public interface AppEngineRoutingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.AppEngineRouting) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -15,10 +33,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The service. */ java.lang.String getService(); /** + * + * *
    * App service.
    * By default, the job is sent to the service which is the default
@@ -26,12 +47,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string service = 1; + * * @return The bytes for service. */ - com.google.protobuf.ByteString - getServiceBytes(); + com.google.protobuf.ByteString getServiceBytes(); /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -39,10 +62,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * App version.
    * By default, the job is sent to the version which is the default
@@ -50,12 +76,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -71,10 +99,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The instance. */ java.lang.String getInstance(); /** + * + * *
    * App instance.
    * By default, the job is sent to an instance which is available when
@@ -90,12 +121,14 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string instance = 3; + * * @return The bytes for instance. */ - com.google.protobuf.ByteString - getInstanceBytes(); + com.google.protobuf.ByteString getInstanceBytes(); /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -141,10 +174,13 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The host. */ java.lang.String getHost(); /** + * + * *
    * Output only. The host that the job is sent to.
    * For more information about how App Engine requests are routed, see
@@ -190,8 +226,8 @@ public interface AppEngineRoutingOrBuilder extends
    * 
* * string host = 4; + * * @return The bytes for host. */ - com.google.protobuf.ByteString - getHostBytes(); + com.google.protobuf.ByteString getHostBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java index c01c654e..2953754d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.CreateJobRequest} */ -public final class CreateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.CreateJobRequest) CreateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateJobRequest.newBuilder() to construct. private CreateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateJobRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,36 @@ private CreateJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); + parent_ = s; + break; } - job_ = input.readMessage(com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); + } + job_ = + input.readMessage( + com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +107,42 @@ private CreateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, + com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -123,30 +151,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,6 +187,8 @@ public java.lang.String getParent() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.scheduler.v1beta1.Job job_; /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -165,7 +197,9 @@ public java.lang.String getParent() {
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ @java.lang.Override @@ -173,6 +207,8 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -181,7 +217,9 @@ public boolean hasJob() {
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ @java.lang.Override @@ -189,6 +227,8 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -197,7 +237,8 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { @@ -205,6 +246,7 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -237,8 +278,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getJob()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -248,19 +288,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.CreateJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.CreateJobRequest other = (com.google.cloud.scheduler.v1beta1.CreateJobRequest) obj; + com.google.cloud.scheduler.v1beta1.CreateJobRequest other = + (com.google.cloud.scheduler.v1beta1.CreateJobRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -285,117 +324,126 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.CreateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.CreateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.CreateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.CreateJobRequest) com.google.cloud.scheduler.v1beta1.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.CreateJobRequest.class, + com.google.cloud.scheduler.v1beta1.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.CreateJobRequest.newBuilder() @@ -403,16 +451,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; } @java.lang.Override @@ -449,7 +496,8 @@ public com.google.cloud.scheduler.v1beta1.CreateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.CreateJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.CreateJobRequest result = new com.google.cloud.scheduler.v1beta1.CreateJobRequest(this); + com.google.cloud.scheduler.v1beta1.CreateJobRequest result = + new com.google.cloud.scheduler.v1beta1.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -464,38 +512,39 @@ public com.google.cloud.scheduler.v1beta1.CreateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.CreateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.CreateJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.CreateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -503,7 +552,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.CreateJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.CreateJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.scheduler.v1beta1.CreateJobRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -530,7 +580,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.scheduler.v1beta1.CreateJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.scheduler.v1beta1.CreateJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,19 +593,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -563,21 +618,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -585,57 +643,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -643,8 +714,13 @@ public Builder setParentBytes( private com.google.cloud.scheduler.v1beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -653,13 +729,17 @@ public Builder setParentBytes(
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -668,7 +748,9 @@ public boolean hasJob() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.scheduler.v1beta1.Job getJob() { @@ -679,6 +761,8 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { } } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -687,7 +771,8 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { @@ -703,6 +788,8 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -711,10 +798,10 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -725,6 +812,8 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -733,13 +822,16 @@ public Builder setJob(
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_) + .mergeFrom(value) + .buildPartial(); } else { job_ = value; } @@ -751,6 +843,8 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -759,7 +853,8 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -773,6 +868,8 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -781,14 +878,17 @@ public Builder clearJob() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -797,17 +897,19 @@ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The job to add. The user can optionally specify a name for the
      * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -816,24 +918,28 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() {
      * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -843,12 +949,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.CreateJobRequest) private static final com.google.cloud.scheduler.v1beta1.CreateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.CreateJobRequest(); } @@ -857,16 +963,16 @@ public static com.google.cloud.scheduler.v1beta1.CreateJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -881,6 +987,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java index 1120ca25..272307d5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/CreateJobRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface CreateJobRequestOrBuilder extends +public interface CreateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -38,11 +65,15 @@ public interface CreateJobRequestOrBuilder extends
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -51,11 +82,15 @@ public interface CreateJobRequestOrBuilder extends
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ com.google.cloud.scheduler.v1beta1.Job getJob(); /** + * + * *
    * Required. The job to add. The user can optionally specify a name for the
    * job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
@@ -64,7 +99,8 @@ public interface CreateJobRequestOrBuilder extends
    * ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java index 8bca2740..0c4f4710 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Request message for deleting a job using
  * [DeleteJob][google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.DeleteJobRequest}
  */
-public final class DeleteJobRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DeleteJobRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.DeleteJobRequest)
     DeleteJobRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DeleteJobRequest.newBuilder() to construct.
   private DeleteJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DeleteJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DeleteJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DeleteJobRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private DeleteJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class, com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class,
+            com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.DeleteJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.DeleteJobRequest other = (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) obj; + com.google.cloud.scheduler.v1beta1.DeleteJobRequest other = + (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,96 +234,103 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.DeleteJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for deleting a job using
    * [DeleteJob][google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.DeleteJobRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.DeleteJobRequest)
       com.google.cloud.scheduler.v1beta1.DeleteJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class, com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1beta1.DeleteJobRequest.class,
+              com.google.cloud.scheduler.v1beta1.DeleteJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.DeleteJobRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.scheduler.v1beta1.DeleteJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.DeleteJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1beta1.DeleteJobRequest result = new com.google.cloud.scheduler.v1beta1.DeleteJobRequest(this);
+      com.google.cloud.scheduler.v1beta1.DeleteJobRequest result =
+          new com.google.cloud.scheduler.v1beta1.DeleteJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.scheduler.v1beta1.DeleteJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.DeleteJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.DeleteJobRequest)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.DeleteJobRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.DeleteJobRequest other) {
-      if (other == com.google.cloud.scheduler.v1beta1.DeleteJobRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.scheduler.v1beta1.DeleteJobRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -439,7 +477,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.scheduler.v1beta1.DeleteJobRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -451,19 +490,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +515,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +540,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +620,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.DeleteJobRequest) private static final com.google.cloud.scheduler.v1beta1.DeleteJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.DeleteJobRequest(); } @@ -575,16 +634,16 @@ public static com.google.cloud.scheduler.v1beta1.DeleteJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +658,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java new file mode 100644 index 00000000..3874da59 --- /dev/null +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/DeleteJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface DeleteJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.DeleteJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java index cff87fbd..7d4dafc3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.GetJobRequest} */ -public final class GetJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.GetJobRequest) GetJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.GetJobRequest.class, com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.GetJobRequest.class, + com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.GetJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.GetJobRequest other = (com.google.cloud.scheduler.v1beta1.GetJobRequest) obj; + com.google.cloud.scheduler.v1beta1.GetJobRequest other = + (com.google.cloud.scheduler.v1beta1.GetJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -205,118 +232,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.GetJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.GetJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.GetJobRequest) com.google.cloud.scheduler.v1beta1.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.GetJobRequest.class, com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.GetJobRequest.class, + com.google.cloud.scheduler.v1beta1.GetJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.GetJobRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.scheduler.v1beta1.GetJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.GetJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.GetJobRequest result = new com.google.cloud.scheduler.v1beta1.GetJobRequest(this); + com.google.cloud.scheduler.v1beta1.GetJobRequest result = + new com.google.cloud.scheduler.v1beta1.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.scheduler.v1beta1.GetJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.GetJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.GetJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.GetJobRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.GetJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.GetJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.scheduler.v1beta1.GetJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -449,19 +487,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +512,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +537,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +617,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.GetJobRequest) private static final com.google.cloud.scheduler.v1beta1.GetJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.GetJobRequest(); } @@ -573,16 +631,16 @@ public static com.google.cloud.scheduler.v1beta1.GetJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java new file mode 100644 index 00000000..bf37953f --- /dev/null +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/GetJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface GetJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java index c15523a3..cdda2256 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpMethod.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * The HTTP method used to execute the job.
  * 
* * Protobuf enum {@code google.cloud.scheduler.v1beta1.HttpMethod} */ -public enum HttpMethod - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpMethod implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -21,6 +39,8 @@ public enum HttpMethod */ HTTP_METHOD_UNSPECIFIED(0), /** + * + * *
    * HTTP POST
    * 
@@ -29,6 +49,8 @@ public enum HttpMethod */ POST(1), /** + * + * *
    * HTTP GET
    * 
@@ -37,6 +59,8 @@ public enum HttpMethod */ GET(2), /** + * + * *
    * HTTP HEAD
    * 
@@ -45,6 +69,8 @@ public enum HttpMethod */ HEAD(3), /** + * + * *
    * HTTP PUT
    * 
@@ -53,6 +79,8 @@ public enum HttpMethod */ PUT(4), /** + * + * *
    * HTTP DELETE
    * 
@@ -61,6 +89,8 @@ public enum HttpMethod */ DELETE(5), /** + * + * *
    * HTTP PATCH
    * 
@@ -69,6 +99,8 @@ public enum HttpMethod */ PATCH(6), /** + * + * *
    * HTTP OPTIONS
    * 
@@ -80,6 +112,8 @@ public enum HttpMethod ; /** + * + * *
    * HTTP method unspecified. Defaults to POST.
    * 
@@ -88,6 +122,8 @@ public enum HttpMethod */ public static final int HTTP_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
    * HTTP POST
    * 
@@ -96,6 +132,8 @@ public enum HttpMethod */ public static final int POST_VALUE = 1; /** + * + * *
    * HTTP GET
    * 
@@ -104,6 +142,8 @@ public enum HttpMethod */ public static final int GET_VALUE = 2; /** + * + * *
    * HTTP HEAD
    * 
@@ -112,6 +152,8 @@ public enum HttpMethod */ public static final int HEAD_VALUE = 3; /** + * + * *
    * HTTP PUT
    * 
@@ -120,6 +162,8 @@ public enum HttpMethod */ public static final int PUT_VALUE = 4; /** + * + * *
    * HTTP DELETE
    * 
@@ -128,6 +172,8 @@ public enum HttpMethod */ public static final int DELETE_VALUE = 5; /** + * + * *
    * HTTP PATCH
    * 
@@ -136,6 +182,8 @@ public enum HttpMethod */ public static final int PATCH_VALUE = 6; /** + * + * *
    * HTTP OPTIONS
    * 
@@ -144,7 +192,6 @@ public enum HttpMethod */ public static final int OPTIONS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,54 +216,59 @@ public static HttpMethod valueOf(int value) { */ public static HttpMethod forNumber(int value) { switch (value) { - case 0: return HTTP_METHOD_UNSPECIFIED; - case 1: return POST; - case 2: return GET; - case 3: return HEAD; - case 4: return PUT; - case 5: return DELETE; - case 6: return PATCH; - case 7: return OPTIONS; - default: return null; + case 0: + return HTTP_METHOD_UNSPECIFIED; + case 1: + return POST; + case 2: + return GET; + case 3: + return HEAD; + case 4: + return PUT; + case 5: + return DELETE; + case 6: + return PATCH; + case 7: + return OPTIONS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpMethod> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpMethod findValueByNumber(int number) { - return HttpMethod.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpMethod findValueByNumber(int number) { + return HttpMethod.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor().getEnumTypes().get(0); } private static final HttpMethod[] VALUES = values(); - public static HttpMethod valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HttpMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,4 +284,3 @@ private HttpMethod(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.scheduler.v1beta1.HttpMethod) } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java similarity index 76% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java index 37bb6475..09147008 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Http target. The job will be pushed to the job handler by means of
  * an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.HttpTarget}
  */
-public final class HttpTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.HttpTarget)
     HttpTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpTarget.newBuilder() to construct.
   private HttpTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private HttpTarget() {
     uri_ = "";
     httpMethod_ = 0;
@@ -32,16 +50,15 @@ private HttpTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private HttpTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -61,71 +78,84 @@ private HttpTarget(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            uri_ = s;
-            break;
-          }
-          case 16: {
-            int rawValue = input.readEnum();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            httpMethod_ = rawValue;
-            break;
-          }
-          case 26: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              headers_ = com.google.protobuf.MapField.newMapField(
-                  HeadersDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              uri_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            headers__ = input.readMessage(
-                HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            headers_.getMutableMap().put(
-                headers__.getKey(), headers__.getValue());
-            break;
-          }
-          case 34: {
+          case 16:
+            {
+              int rawValue = input.readEnum();
 
-            body_ = input.readBytes();
-            break;
-          }
-          case 42: {
-            com.google.cloud.scheduler.v1beta1.OAuthToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 5) {
-              subBuilder = ((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_).toBuilder();
+              httpMethod_ = rawValue;
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.scheduler.v1beta1.OAuthToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 26:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                headers_ =
+                    com.google.protobuf.MapField.newMapField(
+                        HeadersDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry headers__ =
+                  input.readMessage(
+                      HeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              headers_.getMutableMap().put(headers__.getKey(), headers__.getValue());
+              break;
             }
-            authorizationHeaderCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.scheduler.v1beta1.OidcToken.Builder subBuilder = null;
-            if (authorizationHeaderCase_ == 6) {
-              subBuilder = ((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_).toBuilder();
+          case 34:
+            {
+              body_ = input.readBytes();
+              break;
             }
-            authorizationHeader_ =
-                input.readMessage(com.google.cloud.scheduler.v1beta1.OidcToken.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
-              authorizationHeader_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.cloud.scheduler.v1beta1.OAuthToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
+                        .toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1beta1.OAuthToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 5;
+              break;
             }
-            authorizationHeaderCase_ = 6;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 50:
+            {
+              com.google.cloud.scheduler.v1beta1.OidcToken.Builder subBuilder = null;
+              if (authorizationHeaderCase_ == 6) {
+                subBuilder =
+                    ((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
+                        .toBuilder();
+              }
+              authorizationHeader_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1beta1.OidcToken.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
+                authorizationHeader_ = subBuilder.buildPartial();
+              }
+              authorizationHeaderCase_ = 6;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -133,47 +163,51 @@ private HttpTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 3:
         return internalGetHeaders();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.HttpTarget.class, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
+            com.google.cloud.scheduler.v1beta1.HttpTarget.class,
+            com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
   }
 
   private int authorizationHeaderCase_ = 0;
   private java.lang.Object authorizationHeader_;
+
   public enum AuthorizationHeaderCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OAUTH_TOKEN(5),
     OIDC_TOKEN(6),
     AUTHORIZATIONHEADER_NOT_SET(0);
     private final int value;
+
     private AuthorizationHeaderCase(int value) {
       this.value = value;
     }
@@ -189,26 +223,31 @@ public static AuthorizationHeaderCase valueOf(int value) {
 
     public static AuthorizationHeaderCase forNumber(int value) {
       switch (value) {
-        case 5: return OAUTH_TOKEN;
-        case 6: return OIDC_TOKEN;
-        case 0: return AUTHORIZATIONHEADER_NOT_SET;
-        default: return null;
+        case 5:
+          return OAUTH_TOKEN;
+        case 6:
+          return OIDC_TOKEN;
+        case 0:
+          return AUTHORIZATIONHEADER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AuthorizationHeaderCase
-  getAuthorizationHeaderCase() {
-    return AuthorizationHeaderCase.forNumber(
-        authorizationHeaderCase_);
+  public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+    return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
   }
 
   public static final int URI_FIELD_NUMBER = 1;
   private volatile java.lang.Object uri_;
   /**
+   *
+   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -219,6 +258,7 @@ public int getNumber() {
    * 
* * string uri = 1; + * * @return The uri. */ @java.lang.Override @@ -227,14 +267,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -245,16 +286,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 1; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -265,49 +305,57 @@ public java.lang.String getUri() { public static final int HTTP_METHOD_FIELD_NUMBER = 2; private int httpMethod_; /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @return The httpMethod. */ - @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { + @java.lang.Override + public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = + com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } public static final int HEADERS_FIELD_NUMBER = 3; + private static final class HeadersDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.scheduler.v1beta1.TargetProto + .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } @@ -316,6 +364,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -335,22 +385,22 @@ public int getHeadersCount() {
    *
    * map<string, string> headers = 3;
    */
-
   @java.lang.Override
-  public boolean containsHeaders(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsHeaders(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetHeaders().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getHeaders() {
     return getHeadersMap();
   }
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -371,11 +421,12 @@ public java.util.Map getHeaders() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
   public java.util.Map getHeadersMap() {
     return internalGetHeaders().getMap();
   }
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -396,16 +447,16 @@ public java.util.Map getHeadersMap() {
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -426,12 +477,11 @@ public java.lang.String getHeadersOrDefault(
    * map<string, string> headers = 3;
    */
   @java.lang.Override
-
-  public java.lang.String getHeadersOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetHeaders().getMap();
+  public java.lang.String getHeadersOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetHeaders().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -441,6 +491,8 @@ public java.lang.String getHeadersOrThrow(
   public static final int BODY_FIELD_NUMBER = 4;
   private com.google.protobuf.ByteString body_;
   /**
+   *
+   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -448,6 +500,7 @@ public java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -457,6 +510,8 @@ public com.google.protobuf.ByteString getBody() { public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -467,6 +522,7 @@ public com.google.protobuf.ByteString getBody() {
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -474,6 +530,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -484,16 +542,19 @@ public boolean hasOauthToken() {
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() { if (authorizationHeaderCase_ == 5) { - return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_; } return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -508,13 +569,15 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBuilder() {
     if (authorizationHeaderCase_ == 5) {
-       return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
+      return (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
   }
 
   public static final int OIDC_TOKEN_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -526,6 +589,7 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -533,6 +597,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -544,16 +610,19 @@ public boolean hasOidcToken() {
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() { if (authorizationHeaderCase_ == 6) { - return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_; + return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_; } return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance(); } /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -569,12 +638,13 @@ public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() {
   @java.lang.Override
   public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuilder() {
     if (authorizationHeaderCase_ == 6) {
-       return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
+      return (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_;
     }
     return com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -586,20 +656,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
     }
-    if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+    if (httpMethod_
+        != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, httpMethod_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetHeaders(),
-        HeadersDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetHeaders(), HeadersDefaultEntryHolder.defaultEntry, 3);
     if (!body_.isEmpty()) {
       output.writeBytes(4, body_);
     }
@@ -621,31 +687,32 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
     }
-    if (httpMethod_ != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, httpMethod_);
+    if (httpMethod_
+        != com.google.cloud.scheduler.v1beta1.HttpMethod.HTTP_METHOD_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, httpMethod_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetHeaders().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      headers__ = HeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, headers__);
+    for (java.util.Map.Entry entry :
+        internalGetHeaders().getMap().entrySet()) {
+      com.google.protobuf.MapEntry headers__ =
+          HeadersDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, headers__);
     }
     if (!body_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, body_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_);
     }
     if (authorizationHeaderCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_);
     }
     if (authorizationHeaderCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -655,29 +722,25 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1beta1.HttpTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1beta1.HttpTarget other = (com.google.cloud.scheduler.v1beta1.HttpTarget) obj;
+    com.google.cloud.scheduler.v1beta1.HttpTarget other =
+        (com.google.cloud.scheduler.v1beta1.HttpTarget) obj;
 
-    if (!getUri()
-        .equals(other.getUri())) return false;
+    if (!getUri().equals(other.getUri())) return false;
     if (httpMethod_ != other.httpMethod_) return false;
-    if (!internalGetHeaders().equals(
-        other.internalGetHeaders())) return false;
-    if (!getBody()
-        .equals(other.getBody())) return false;
+    if (!internalGetHeaders().equals(other.internalGetHeaders())) return false;
+    if (!getBody().equals(other.getBody())) return false;
     if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false;
     switch (authorizationHeaderCase_) {
       case 5:
-        if (!getOauthToken()
-            .equals(other.getOauthToken())) return false;
+        if (!getOauthToken().equals(other.getOauthToken())) return false;
         break;
       case 6:
-        if (!getOidcToken()
-            .equals(other.getOidcToken())) return false;
+        if (!getOidcToken().equals(other.getOidcToken())) return false;
         break;
       case 0:
       default:
@@ -720,97 +783,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.scheduler.v1beta1.HttpTarget parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.HttpTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.HttpTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Http target. The job will be pushed to the job handler by means of
    * an HTTP request via an [http_method][google.cloud.scheduler.v1beta1.HttpTarget.http_method] such as HTTP
@@ -822,43 +892,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.HttpTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.HttpTarget)
       com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 3:
           return internalGetHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 3:
           return internalGetMutableHeaders();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.HttpTarget.class, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
+              com.google.cloud.scheduler.v1beta1.HttpTarget.class,
+              com.google.cloud.scheduler.v1beta1.HttpTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.HttpTarget.newBuilder()
@@ -866,16 +936,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -892,9 +961,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor;
     }
 
     @java.lang.Override
@@ -913,7 +982,8 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.HttpTarget buildPartial() {
-      com.google.cloud.scheduler.v1beta1.HttpTarget result = new com.google.cloud.scheduler.v1beta1.HttpTarget(this);
+      com.google.cloud.scheduler.v1beta1.HttpTarget result =
+          new com.google.cloud.scheduler.v1beta1.HttpTarget(this);
       int from_bitField0_ = bitField0_;
       result.uri_ = uri_;
       result.httpMethod_ = httpMethod_;
@@ -943,38 +1013,39 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.HttpTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -990,23 +1061,25 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.HttpTarget other) {
       if (other.httpMethod_ != 0) {
         setHttpMethodValue(other.getHttpMethodValue());
       }
-      internalGetMutableHeaders().mergeFrom(
-          other.internalGetHeaders());
+      internalGetMutableHeaders().mergeFrom(other.internalGetHeaders());
       if (other.getBody() != com.google.protobuf.ByteString.EMPTY) {
         setBody(other.getBody());
       }
       switch (other.getAuthorizationHeaderCase()) {
-        case OAUTH_TOKEN: {
-          mergeOauthToken(other.getOauthToken());
-          break;
-        }
-        case OIDC_TOKEN: {
-          mergeOidcToken(other.getOidcToken());
-          break;
-        }
-        case AUTHORIZATIONHEADER_NOT_SET: {
-          break;
-        }
+        case OAUTH_TOKEN:
+          {
+            mergeOauthToken(other.getOauthToken());
+            break;
+          }
+        case OIDC_TOKEN:
+          {
+            mergeOidcToken(other.getOidcToken());
+            break;
+          }
+        case AUTHORIZATIONHEADER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1036,12 +1109,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int authorizationHeaderCase_ = 0;
     private java.lang.Object authorizationHeader_;
-    public AuthorizationHeaderCase
-        getAuthorizationHeaderCase() {
-      return AuthorizationHeaderCase.forNumber(
-          authorizationHeaderCase_);
+
+    public AuthorizationHeaderCase getAuthorizationHeaderCase() {
+      return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_);
     }
 
     public Builder clearAuthorizationHeader() {
@@ -1055,6 +1128,8 @@ public Builder clearAuthorizationHeader() {
 
     private java.lang.Object uri_ = "";
     /**
+     *
+     *
      * 
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1065,13 +1140,13 @@ public Builder clearAuthorizationHeader() {
      * 
* * string uri = 1; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1080,6 +1155,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1090,15 +1167,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1106,6 +1182,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1116,20 +1194,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 1; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1140,15 +1220,18 @@ public Builder setUri(
      * 
* * string uri = 1; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * Required. The full URI path that the request will be sent to. This string
      * must begin with either "http://" or "https://". Some examples of
@@ -1159,16 +1242,16 @@ public Builder clearUri() {
      * 
* * string uri = 1; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; @@ -1176,51 +1259,65 @@ public Builder setUriBytes( private int httpMethod_ = 0; /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ - @java.lang.Override public int getHttpMethodValue() { + @java.lang.Override + public int getHttpMethodValue() { return httpMethod_; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @param value The enum numeric value on the wire for httpMethod to set. * @return This builder for chaining. */ public Builder setHttpMethodValue(int value) { - + httpMethod_ = value; onChanged(); return this; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @return The httpMethod. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.HttpMethod result = com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); + com.google.cloud.scheduler.v1beta1.HttpMethod result = + com.google.cloud.scheduler.v1beta1.HttpMethod.valueOf(httpMethod_); return result == null ? com.google.cloud.scheduler.v1beta1.HttpMethod.UNRECOGNIZED : result; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @param value The httpMethod to set. * @return This builder for chaining. */ @@ -1228,42 +1325,44 @@ public Builder setHttpMethod(com.google.cloud.scheduler.v1beta1.HttpMethod value if (value == null) { throw new NullPointerException(); } - + httpMethod_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Which HTTP method to use for the request.
      * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @return This builder for chaining. */ public Builder clearHttpMethod() { - + httpMethod_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> headers_; - private com.google.protobuf.MapField - internalGetHeaders() { + private com.google.protobuf.MapField headers_; + + private com.google.protobuf.MapField internalGetHeaders() { if (headers_ == null) { - return com.google.protobuf.MapField.emptyMapField( - HeadersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(HeadersDefaultEntryHolder.defaultEntry); } return headers_; } + private com.google.protobuf.MapField - internalGetMutableHeaders() { - onChanged();; + internalGetMutableHeaders() { + onChanged(); + ; if (headers_ == null) { - headers_ = com.google.protobuf.MapField.newMapField( - HeadersDefaultEntryHolder.defaultEntry); + headers_ = com.google.protobuf.MapField.newMapField(HeadersDefaultEntryHolder.defaultEntry); } if (!headers_.isMutable()) { headers_ = headers_.copy(); @@ -1275,6 +1374,8 @@ public int getHeadersCount() { return internalGetHeaders().getMap().size(); } /** + * + * *
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1294,22 +1395,22 @@ public int getHeadersCount() {
      *
      * map<string, string> headers = 3;
      */
-
     @java.lang.Override
-    public boolean containsHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetHeaders().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getHeadersMap()} instead.
-     */
+    /** Use {@link #getHeadersMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getHeaders() {
       return getHeadersMap();
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1330,11 +1431,12 @@ public java.util.Map getHeaders() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.util.Map getHeadersMap() {
       return internalGetHeaders().getMap();
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1355,16 +1457,17 @@ public java.util.Map getHeadersMap() {
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
     public java.lang.String getHeadersOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1385,12 +1488,11 @@ public java.lang.String getHeadersOrDefault(
      * map<string, string> headers = 3;
      */
     @java.lang.Override
-
-    public java.lang.String getHeadersOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetHeaders().getMap();
+    public java.lang.String getHeadersOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetHeaders().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -1398,11 +1500,12 @@ public java.lang.String getHeadersOrThrow(
     }
 
     public Builder clearHeaders() {
-      internalGetMutableHeaders().getMutableMap()
-          .clear();
+      internalGetMutableHeaders().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1422,23 +1525,21 @@ public Builder clearHeaders() {
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder removeHeaders(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableHeaders().getMutableMap()
-          .remove(key);
+    public Builder removeHeaders(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableHeaders().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableHeaders() {
+    public java.util.Map getMutableHeaders() {
       return internalGetMutableHeaders().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1458,19 +1559,20 @@ public Builder removeHeaders(
      *
      * map<string, string> headers = 3;
      */
-    public Builder putHeaders(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putHeaders(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableHeaders().getMutableMap()
-          .put(key, value);
+      internalGetMutableHeaders().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The user can specify HTTP request headers to send with the job's
      * HTTP request. This map contains the header field names and
@@ -1490,16 +1592,15 @@ public Builder putHeaders(
      *
      * map<string, string> headers = 3;
      */
-
-    public Builder putAllHeaders(
-        java.util.Map values) {
-      internalGetMutableHeaders().getMutableMap()
-          .putAll(values);
+    public Builder putAllHeaders(java.util.Map values) {
+      internalGetMutableHeaders().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1507,6 +1608,7 @@ public Builder putAllHeaders(
      * 
* * bytes body = 4; + * * @return The body. */ @java.lang.Override @@ -1514,6 +1616,8 @@ public com.google.protobuf.ByteString getBody() { return body_; } /** + * + * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1521,19 +1625,22 @@ public com.google.protobuf.ByteString getBody() {
      * 
* * bytes body = 4; + * * @param value The body to set. * @return This builder for chaining. */ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + body_ = value; onChanged(); return this; } /** + * + * *
      * HTTP request body. A request body is allowed only if the HTTP
      * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -1541,18 +1648,24 @@ public Builder setBody(com.google.protobuf.ByteString value) {
      * 
* * bytes body = 4; + * * @return This builder for chaining. */ public Builder clearBody() { - + body_ = getDefaultInstance().getBody(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.OAuthToken, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder> oauthTokenBuilder_; + com.google.cloud.scheduler.v1beta1.OAuthToken, + com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, + com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder> + oauthTokenBuilder_; /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1563,6 +1676,7 @@ public Builder clearBody() {
      * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ @java.lang.Override @@ -1570,6 +1684,8 @@ public boolean hasOauthToken() { return authorizationHeaderCase_ == 5; } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1580,6 +1696,7 @@ public boolean hasOauthToken() {
      * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ @java.lang.Override @@ -1597,6 +1714,8 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken() { } } /** + * + * *
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1622,6 +1741,8 @@ public Builder setOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken value
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1645,6 +1766,8 @@ public Builder setOauthToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1658,10 +1781,14 @@ public Builder setOauthToken(
      */
     public Builder mergeOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken value) {
       if (oauthTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 5 &&
-            authorizationHeader_ != com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder((com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 5
+            && authorizationHeader_
+                != com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder(
+                      (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1677,6 +1804,8 @@ public Builder mergeOauthToken(com.google.cloud.scheduler.v1beta1.OAuthToken val
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1705,6 +1834,8 @@ public Builder clearOauthToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1720,6 +1851,8 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken.Builder getOauthTokenBuilde
       return getOauthTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1743,6 +1876,8 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -1755,27 +1890,38 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
      * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.scheduler.v1beta1.OAuthToken, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder> 
+            com.google.cloud.scheduler.v1beta1.OAuthToken,
+            com.google.cloud.scheduler.v1beta1.OAuthToken.Builder,
+            com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>
         getOauthTokenFieldBuilder() {
       if (oauthTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 5)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OAuthToken.getDefaultInstance();
         }
-        oauthTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1beta1.OAuthToken, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder, com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>(
+        oauthTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.scheduler.v1beta1.OAuthToken,
+                com.google.cloud.scheduler.v1beta1.OAuthToken.Builder,
+                com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1beta1.OAuthToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 5;
-      onChanged();;
+      onChanged();
+      ;
       return oauthTokenBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.scheduler.v1beta1.OidcToken, com.google.cloud.scheduler.v1beta1.OidcToken.Builder, com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder> oidcTokenBuilder_;
+            com.google.cloud.scheduler.v1beta1.OidcToken,
+            com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
+            com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>
+        oidcTokenBuilder_;
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1787,6 +1933,7 @@ public com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBui
      * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ @java.lang.Override @@ -1794,6 +1941,8 @@ public boolean hasOidcToken() { return authorizationHeaderCase_ == 6; } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1805,6 +1954,7 @@ public boolean hasOidcToken() {
      * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; + * * @return The oidcToken. */ @java.lang.Override @@ -1822,6 +1972,8 @@ public com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken() { } } /** + * + * *
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1848,6 +2000,8 @@ public Builder setOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value)
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1872,6 +2026,8 @@ public Builder setOidcToken(
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1886,10 +2042,14 @@ public Builder setOidcToken(
      */
     public Builder mergeOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value) {
       if (oidcTokenBuilder_ == null) {
-        if (authorizationHeaderCase_ == 6 &&
-            authorizationHeader_ != com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance()) {
-          authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder((com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
-              .mergeFrom(value).buildPartial();
+        if (authorizationHeaderCase_ == 6
+            && authorizationHeader_
+                != com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance()) {
+          authorizationHeader_ =
+              com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder(
+                      (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           authorizationHeader_ = value;
         }
@@ -1905,6 +2065,8 @@ public Builder mergeOidcToken(com.google.cloud.scheduler.v1beta1.OidcToken value
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1934,6 +2096,8 @@ public Builder clearOidcToken() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1950,6 +2114,8 @@ public com.google.cloud.scheduler.v1beta1.OidcToken.Builder getOidcTokenBuilder(
       return getOidcTokenFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1974,6 +2140,8 @@ public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * If specified, an
      * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -1987,26 +2155,32 @@ public com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuild
      * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.scheduler.v1beta1.OidcToken, com.google.cloud.scheduler.v1beta1.OidcToken.Builder, com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder> 
+            com.google.cloud.scheduler.v1beta1.OidcToken,
+            com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
+            com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>
         getOidcTokenFieldBuilder() {
       if (oidcTokenBuilder_ == null) {
         if (!(authorizationHeaderCase_ == 6)) {
           authorizationHeader_ = com.google.cloud.scheduler.v1beta1.OidcToken.getDefaultInstance();
         }
-        oidcTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.scheduler.v1beta1.OidcToken, com.google.cloud.scheduler.v1beta1.OidcToken.Builder, com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>(
+        oidcTokenBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.scheduler.v1beta1.OidcToken,
+                com.google.cloud.scheduler.v1beta1.OidcToken.Builder,
+                com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder>(
                 (com.google.cloud.scheduler.v1beta1.OidcToken) authorizationHeader_,
                 getParentForChildren(),
                 isClean());
         authorizationHeader_ = null;
       }
       authorizationHeaderCase_ = 6;
-      onChanged();;
+      onChanged();
+      ;
       return oidcTokenBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2016,12 +2190,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.HttpTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.HttpTarget)
   private static final com.google.cloud.scheduler.v1beta1.HttpTarget DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.HttpTarget();
   }
@@ -2030,16 +2204,16 @@ public static com.google.cloud.scheduler.v1beta1.HttpTarget getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HttpTarget parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HttpTarget(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HttpTarget parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HttpTarget(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2054,6 +2228,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1beta1.HttpTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
similarity index 88%
rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
index a17e3d05..92d059be 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
+++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/HttpTargetOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/target.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
-public interface HttpTargetOrBuilder extends
+public interface HttpTargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.HttpTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -18,10 +36,13 @@ public interface HttpTargetOrBuilder extends
    * 
* * string uri = 1; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Required. The full URI path that the request will be sent to. This string
    * must begin with either "http://" or "https://". Some examples of
@@ -32,31 +53,39 @@ public interface HttpTargetOrBuilder extends
    * 
* * string uri = 1; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @return The enum numeric value on the wire for httpMethod. */ int getHttpMethodValue(); /** + * + * *
    * Which HTTP method to use for the request.
    * 
* * .google.cloud.scheduler.v1beta1.HttpMethod http_method = 2; + * * @return The httpMethod. */ com.google.cloud.scheduler.v1beta1.HttpMethod getHttpMethod(); /** + * + * *
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -78,6 +107,8 @@ public interface HttpTargetOrBuilder extends
    */
   int getHeadersCount();
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -97,15 +128,13 @@ public interface HttpTargetOrBuilder extends
    *
    * map<string, string> headers = 3;
    */
-  boolean containsHeaders(
-      java.lang.String key);
-  /**
-   * Use {@link #getHeadersMap()} instead.
-   */
+  boolean containsHeaders(java.lang.String key);
+  /** Use {@link #getHeadersMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getHeaders();
+  java.util.Map getHeaders();
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -125,9 +154,10 @@ boolean containsHeaders(
    *
    * map<string, string> headers = 3;
    */
-  java.util.Map
-  getHeadersMap();
+  java.util.Map getHeadersMap();
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -149,11 +179,13 @@ boolean containsHeaders(
    */
 
   /* nullable */
-java.lang.String getHeadersOrDefault(
+  java.lang.String getHeadersOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The user can specify HTTP request headers to send with the job's
    * HTTP request. This map contains the header field names and
@@ -173,11 +205,11 @@ java.lang.String getHeadersOrDefault(
    *
    * map<string, string> headers = 3;
    */
-
-  java.lang.String getHeadersOrThrow(
-      java.lang.String key);
+  java.lang.String getHeadersOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * HTTP request body. A request body is allowed only if the HTTP
    * method is POST, PUT, or PATCH. It is an error to set body on a job with an
@@ -185,11 +217,14 @@ java.lang.String getHeadersOrThrow(
    * 
* * bytes body = 4; + * * @return The body. */ com.google.protobuf.ByteString getBody(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -200,10 +235,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; + * * @return Whether the oauthToken field is set. */ boolean hasOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -214,10 +252,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1beta1.OAuthToken oauth_token = 5; + * * @return The oauthToken. */ com.google.cloud.scheduler.v1beta1.OAuthToken getOauthToken(); /** + * + * *
    * If specified, an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
@@ -232,6 +273,8 @@ java.lang.String getHeadersOrThrow(
   com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder getOauthTokenOrBuilder();
 
   /**
+   *
+   *
    * 
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -243,10 +286,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; + * * @return Whether the oidcToken field is set. */ boolean hasOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -258,10 +304,13 @@ java.lang.String getHeadersOrThrow(
    * 
* * .google.cloud.scheduler.v1beta1.OidcToken oidc_token = 6; + * * @return The oidcToken. */ com.google.cloud.scheduler.v1beta1.OidcToken getOidcToken(); /** + * + * *
    * If specified, an
    * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
@@ -276,5 +325,6 @@ java.lang.String getHeadersOrThrow(
    */
   com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder getOidcTokenOrBuilder();
 
-  public com.google.cloud.scheduler.v1beta1.HttpTarget.AuthorizationHeaderCase getAuthorizationHeaderCase();
+  public com.google.cloud.scheduler.v1beta1.HttpTarget.AuthorizationHeaderCase
+      getAuthorizationHeaderCase();
 }
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
similarity index 78%
rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
index af3f839a..63ebd6ba 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
+++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/Job.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/job.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
 /**
+ *
+ *
  * 
  * Configuration for a job.
  * The maximum allowed size for a job is 100KB.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.Job}
  */
-public final class Job extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Job extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.Job)
     JobOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Job.newBuilder() to construct.
   private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Job() {
     name_ = "";
     description_ = "";
@@ -30,16 +48,15 @@ private Job() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Job();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Job(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,163 +75,190 @@ private Job(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            description_ = s;
-            break;
-          }
-          case 34: {
-            com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder subBuilder = null;
-            if (targetCase_ == 4) {
-              subBuilder = ((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_).toBuilder();
-            }
-            target_ =
-                input.readMessage(com.google.cloud.scheduler.v1beta1.PubsubTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
-              target_ = subBuilder.buildPartial();
-            }
-            targetCase_ = 4;
-            break;
-          }
-          case 42: {
-            com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder subBuilder = null;
-            if (targetCase_ == 5) {
-              subBuilder = ((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_).toBuilder();
-            }
-            target_ =
-                input.readMessage(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
-              target_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
-            targetCase_ = 5;
-            break;
-          }
-          case 50: {
-            com.google.cloud.scheduler.v1beta1.HttpTarget.Builder subBuilder = null;
-            if (targetCase_ == 6) {
-              subBuilder = ((com.google.cloud.scheduler.v1beta1.HttpTarget) target_).toBuilder();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              description_ = s;
+              break;
             }
-            target_ =
-                input.readMessage(com.google.cloud.scheduler.v1beta1.HttpTarget.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
-              target_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder subBuilder = null;
+              if (targetCase_ == 4) {
+                subBuilder =
+                    ((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_).toBuilder();
+              }
+              target_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1beta1.PubsubTarget.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
+                target_ = subBuilder.buildPartial();
+              }
+              targetCase_ = 4;
+              break;
             }
-            targetCase_ = 6;
-            break;
-          }
-          case 74: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (userUpdateTime_ != null) {
-              subBuilder = userUpdateTime_.toBuilder();
+          case 42:
+            {
+              com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder subBuilder = null;
+              if (targetCase_ == 5) {
+                subBuilder =
+                    ((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_).toBuilder();
+              }
+              target_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
+                target_ = subBuilder.buildPartial();
+              }
+              targetCase_ = 5;
+              break;
             }
-            userUpdateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(userUpdateTime_);
-              userUpdateTime_ = subBuilder.buildPartial();
+          case 50:
+            {
+              com.google.cloud.scheduler.v1beta1.HttpTarget.Builder subBuilder = null;
+              if (targetCase_ == 6) {
+                subBuilder = ((com.google.cloud.scheduler.v1beta1.HttpTarget) target_).toBuilder();
+              }
+              target_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1beta1.HttpTarget.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
+                target_ = subBuilder.buildPartial();
+              }
+              targetCase_ = 6;
+              break;
             }
+          case 74:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (userUpdateTime_ != null) {
+                subBuilder = userUpdateTime_.toBuilder();
+              }
+              userUpdateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(userUpdateTime_);
+                userUpdateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 80: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 90: {
-            com.google.rpc.Status.Builder subBuilder = null;
-            if (status_ != null) {
-              subBuilder = status_.toBuilder();
-            }
-            status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(status_);
-              status_ = subBuilder.buildPartial();
+              break;
             }
+          case 80:
+            {
+              int rawValue = input.readEnum();
 
-            break;
-          }
-          case 138: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (scheduleTime_ != null) {
-              subBuilder = scheduleTime_.toBuilder();
-            }
-            scheduleTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(scheduleTime_);
-              scheduleTime_ = subBuilder.buildPartial();
+              state_ = rawValue;
+              break;
             }
+          case 90:
+            {
+              com.google.rpc.Status.Builder subBuilder = null;
+              if (status_ != null) {
+                subBuilder = status_.toBuilder();
+              }
+              status_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(status_);
+                status_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 146: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (lastAttemptTime_ != null) {
-              subBuilder = lastAttemptTime_.toBuilder();
-            }
-            lastAttemptTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(lastAttemptTime_);
-              lastAttemptTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 138:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (scheduleTime_ != null) {
+                subBuilder = scheduleTime_.toBuilder();
+              }
+              scheduleTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(scheduleTime_);
+                scheduleTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 154: {
-            com.google.cloud.scheduler.v1beta1.RetryConfig.Builder subBuilder = null;
-            if (retryConfig_ != null) {
-              subBuilder = retryConfig_.toBuilder();
-            }
-            retryConfig_ = input.readMessage(com.google.cloud.scheduler.v1beta1.RetryConfig.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(retryConfig_);
-              retryConfig_ = subBuilder.buildPartial();
+              break;
             }
+          case 146:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (lastAttemptTime_ != null) {
+                subBuilder = lastAttemptTime_.toBuilder();
+              }
+              lastAttemptTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(lastAttemptTime_);
+                lastAttemptTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 162: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 154:
+            {
+              com.google.cloud.scheduler.v1beta1.RetryConfig.Builder subBuilder = null;
+              if (retryConfig_ != null) {
+                subBuilder = retryConfig_.toBuilder();
+              }
+              retryConfig_ =
+                  input.readMessage(
+                      com.google.cloud.scheduler.v1beta1.RetryConfig.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(retryConfig_);
+                retryConfig_ = subBuilder.buildPartial();
+              }
 
-            schedule_ = s;
-            break;
-          }
-          case 170: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 162:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            timeZone_ = s;
-            break;
-          }
-          case 178: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (attemptDeadline_ != null) {
-              subBuilder = attemptDeadline_.toBuilder();
+              schedule_ = s;
+              break;
             }
-            attemptDeadline_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(attemptDeadline_);
-              attemptDeadline_ = subBuilder.buildPartial();
+          case 170:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              timeZone_ = s;
+              break;
             }
+          case 178:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (attemptDeadline_ != null) {
+                subBuilder = attemptDeadline_.toBuilder();
+              }
+              attemptDeadline_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(attemptDeadline_);
+                attemptDeadline_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -222,36 +266,41 @@ private Job(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.JobProto
+        .internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.JobProto
+        .internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.Job.class, com.google.cloud.scheduler.v1beta1.Job.Builder.class);
+            com.google.cloud.scheduler.v1beta1.Job.class,
+            com.google.cloud.scheduler.v1beta1.Job.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * State of the job.
    * 
* * Protobuf enum {@code google.cloud.scheduler.v1beta1.Job.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified state.
      * 
@@ -260,6 +309,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The job is executing normally.
      * 
@@ -268,6 +319,8 @@ public enum State */ ENABLED(1), /** + * + * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -278,6 +331,8 @@ public enum State
      */
     PAUSED(2),
     /**
+     *
+     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -287,6 +342,8 @@ public enum State
      */
     DISABLED(3),
     /**
+     *
+     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -300,6 +357,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified state.
      * 
@@ -308,6 +367,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The job is executing normally.
      * 
@@ -316,6 +377,8 @@ public enum State */ public static final int ENABLED_VALUE = 1; /** + * + * *
      * The job is paused by the user. It will not execute. A user can
      * intentionally pause the job using
@@ -326,6 +389,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The job is disabled by the system due to error. The user
      * cannot directly set a job to be disabled.
@@ -335,6 +400,8 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]
      * operation. To recover a job from this state, retry
@@ -345,7 +412,6 @@ public enum State
      */
     public static final int UPDATE_FAILED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -370,51 +436,53 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return ENABLED;
-        case 2: return PAUSED;
-        case 3: return DISABLED;
-        case 4: return UPDATE_FAILED;
-        default: return null;
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return ENABLED;
+        case 2:
+          return PAUSED;
+        case 3:
+          return DISABLED;
+        case 4:
+          return UPDATE_FAILED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.cloud.scheduler.v1beta1.Job.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -433,14 +501,17 @@ private State(int value) {
 
   private int targetCase_ = 0;
   private java.lang.Object target_;
+
   public enum TargetCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     PUBSUB_TARGET(4),
     APP_ENGINE_HTTP_TARGET(5),
     HTTP_TARGET(6),
     TARGET_NOT_SET(0);
     private final int value;
+
     private TargetCase(int value) {
       this.value = value;
     }
@@ -456,27 +527,33 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 4: return PUBSUB_TARGET;
-        case 5: return APP_ENGINE_HTTP_TARGET;
-        case 6: return HTTP_TARGET;
-        case 0: return TARGET_NOT_SET;
-        default: return null;
+        case 4:
+          return PUBSUB_TARGET;
+        case 5:
+          return APP_ENGINE_HTTP_TARGET;
+        case 6:
+          return HTTP_TARGET;
+        case 0:
+          return TARGET_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase
-  getTargetCase() {
-    return TargetCase.forNumber(
-        targetCase_);
+  public TargetCase getTargetCase() {
+    return TargetCase.forNumber(targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -496,6 +573,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -504,14 +582,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -531,16 +610,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -551,6 +629,8 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -559,6 +639,7 @@ public java.lang.String getName() {
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -567,14 +648,15 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -583,16 +665,15 @@ public java.lang.String getDescription() {
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -602,11 +683,14 @@ public java.lang.String getDescription() { public static final int PUBSUB_TARGET_FIELD_NUMBER = 4; /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; + * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -614,21 +698,26 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; + * * @return The pubsubTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance(); } /** + * + * *
    * Pub/Sub target.
    * 
@@ -638,18 +727,21 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetOrBuilder() { if (targetCase_ == 4) { - return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; + return (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_; } return com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance(); } public static final int APP_ENGINE_HTTP_TARGET_FIELD_NUMBER = 5; /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -657,21 +749,26 @@ public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return The appEngineHttpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTarget() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance(); } /** + * + * *
    * App Engine HTTP target.
    * 
@@ -679,20 +776,24 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTa * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder + getAppEngineHttpTargetOrBuilder() { if (targetCase_ == 5) { - return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance(); } public static final int HTTP_TARGET_FIELD_NUMBER = 6; /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; + * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -700,21 +801,26 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; + * * @return The httpTarget. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance(); } /** + * + * *
    * HTTP target.
    * 
@@ -724,7 +830,7 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBuilder() { if (targetCase_ == 6) { - return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; + return (com.google.cloud.scheduler.v1beta1.HttpTarget) target_; } return com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance(); } @@ -732,6 +838,8 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui public static final int SCHEDULE_FIELD_NUMBER = 20; private volatile java.lang.Object schedule_; /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -754,6 +862,7 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
    * 
* * string schedule = 20; + * * @return The schedule. */ @java.lang.Override @@ -762,14 +871,15 @@ public java.lang.String getSchedule() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; } } /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -792,16 +902,15 @@ public java.lang.String getSchedule() {
    * 
* * string schedule = 20; + * * @return The bytes for schedule. */ @java.lang.Override - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -812,6 +921,8 @@ public java.lang.String getSchedule() { public static final int TIME_ZONE_FIELD_NUMBER = 21; private volatile java.lang.Object timeZone_; /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -824,6 +935,7 @@ public java.lang.String getSchedule() {
    * 
* * string time_zone = 21; + * * @return The timeZone. */ @java.lang.Override @@ -832,14 +944,15 @@ public java.lang.String getTimeZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; } } /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -852,16 +965,15 @@ public java.lang.String getTimeZone() {
    * 
* * string time_zone = 21; + * * @return The bytes for timeZone. */ @java.lang.Override - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -872,11 +984,14 @@ public java.lang.String getTimeZone() { public static final int USER_UPDATE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp userUpdateTime_; /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return Whether the userUpdateTime field is set. */ @java.lang.Override @@ -884,18 +999,25 @@ public boolean hasUserUpdateTime() { return userUpdateTime_ != null; } /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return The userUpdateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUserUpdateTime() { - return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; + return userUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : userUpdateTime_; } /** + * + * *
    * Output only. The creation time of the job.
    * 
@@ -910,38 +1032,50 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 10; private int state_; /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @return The state. */ - @java.lang.Override public com.google.cloud.scheduler.v1beta1.Job.State getState() { + @java.lang.Override + public com.google.cloud.scheduler.v1beta1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.Job.State result = com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1beta1.Job.State result = + com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1beta1.Job.State.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 11; private com.google.rpc.Status status_; /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return Whether the status field is set. */ @java.lang.Override @@ -949,11 +1083,14 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return The status. */ @java.lang.Override @@ -961,6 +1098,8 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -975,6 +1114,8 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { public static final int SCHEDULE_TIME_FIELD_NUMBER = 17; private com.google.protobuf.Timestamp scheduleTime_; /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -982,6 +1123,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return Whether the scheduleTime field is set. */ @java.lang.Override @@ -989,6 +1131,8 @@ public boolean hasScheduleTime() { return scheduleTime_ != null; } /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -996,13 +1140,18 @@ public boolean hasScheduleTime() {
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return The scheduleTime. */ @java.lang.Override public com.google.protobuf.Timestamp getScheduleTime() { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -1019,11 +1168,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
   public static final int LAST_ATTEMPT_TIME_FIELD_NUMBER = 18;
   private com.google.protobuf.Timestamp lastAttemptTime_;
   /**
+   *
+   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return Whether the lastAttemptTime field is set. */ @java.lang.Override @@ -1031,18 +1183,25 @@ public boolean hasLastAttemptTime() { return lastAttemptTime_ != null; } /** + * + * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return The lastAttemptTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastAttemptTime() { - return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; + return lastAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastAttemptTime_; } /** + * + * *
    * Output only. The time the last job attempt started.
    * 
@@ -1057,11 +1216,14 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { public static final int RETRY_CONFIG_FIELD_NUMBER = 19; private com.google.cloud.scheduler.v1beta1.RetryConfig retryConfig_; /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; + * * @return Whether the retryConfig field is set. */ @java.lang.Override @@ -1069,18 +1231,25 @@ public boolean hasRetryConfig() { return retryConfig_ != null; } /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; + * * @return The retryConfig. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.RetryConfig getRetryConfig() { - return retryConfig_ == null ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() + : retryConfig_; } /** + * + * *
    * Settings that determine the retry behavior.
    * 
@@ -1095,6 +1264,8 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB public static final int ATTEMPT_DEADLINE_FIELD_NUMBER = 22; private com.google.protobuf.Duration attemptDeadline_; /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1109,6 +1280,7 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return Whether the attemptDeadline field is set. */ @java.lang.Override @@ -1116,6 +1288,8 @@ public boolean hasAttemptDeadline() { return attemptDeadline_ != null; } /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1130,13 +1304,18 @@ public boolean hasAttemptDeadline() {
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return The attemptDeadline. */ @java.lang.Override public com.google.protobuf.Duration getAttemptDeadline() { - return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; + return attemptDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : attemptDeadline_; } /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -1158,6 +1337,7 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1169,8 +1349,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -1229,40 +1408,37 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
     }
     if (targetCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_);
     }
     if (targetCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_);
     }
     if (targetCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.cloud.scheduler.v1beta1.HttpTarget) target_);
     }
     if (userUpdateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getUserUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUserUpdateTime());
     }
     if (state_ != com.google.cloud.scheduler.v1beta1.Job.State.STATE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(10, state_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, state_);
     }
     if (status_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, getStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getStatus());
     }
     if (scheduleTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(17, getScheduleTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getScheduleTime());
     }
     if (lastAttemptTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(18, getLastAttemptTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLastAttemptTime());
     }
     if (retryConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(19, getRetryConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getRetryConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schedule_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, schedule_);
@@ -1271,8 +1447,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, timeZone_);
     }
     if (attemptDeadline_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(22, getAttemptDeadline());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getAttemptDeadline());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -1282,65 +1457,52 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1beta1.Job)) {
       return super.equals(obj);
     }
     com.google.cloud.scheduler.v1beta1.Job other = (com.google.cloud.scheduler.v1beta1.Job) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
-    if (!getSchedule()
-        .equals(other.getSchedule())) return false;
-    if (!getTimeZone()
-        .equals(other.getTimeZone())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getSchedule().equals(other.getSchedule())) return false;
+    if (!getTimeZone().equals(other.getTimeZone())) return false;
     if (hasUserUpdateTime() != other.hasUserUpdateTime()) return false;
     if (hasUserUpdateTime()) {
-      if (!getUserUpdateTime()
-          .equals(other.getUserUpdateTime())) return false;
+      if (!getUserUpdateTime().equals(other.getUserUpdateTime())) return false;
     }
     if (state_ != other.state_) return false;
     if (hasStatus() != other.hasStatus()) return false;
     if (hasStatus()) {
-      if (!getStatus()
-          .equals(other.getStatus())) return false;
+      if (!getStatus().equals(other.getStatus())) return false;
     }
     if (hasScheduleTime() != other.hasScheduleTime()) return false;
     if (hasScheduleTime()) {
-      if (!getScheduleTime()
-          .equals(other.getScheduleTime())) return false;
+      if (!getScheduleTime().equals(other.getScheduleTime())) return false;
     }
     if (hasLastAttemptTime() != other.hasLastAttemptTime()) return false;
     if (hasLastAttemptTime()) {
-      if (!getLastAttemptTime()
-          .equals(other.getLastAttemptTime())) return false;
+      if (!getLastAttemptTime().equals(other.getLastAttemptTime())) return false;
     }
     if (hasRetryConfig() != other.hasRetryConfig()) return false;
     if (hasRetryConfig()) {
-      if (!getRetryConfig()
-          .equals(other.getRetryConfig())) return false;
+      if (!getRetryConfig().equals(other.getRetryConfig())) return false;
     }
     if (hasAttemptDeadline() != other.hasAttemptDeadline()) return false;
     if (hasAttemptDeadline()) {
-      if (!getAttemptDeadline()
-          .equals(other.getAttemptDeadline())) return false;
+      if (!getAttemptDeadline().equals(other.getAttemptDeadline())) return false;
     }
     if (!getTargetCase().equals(other.getTargetCase())) return false;
     switch (targetCase_) {
       case 4:
-        if (!getPubsubTarget()
-            .equals(other.getPubsubTarget())) return false;
+        if (!getPubsubTarget().equals(other.getPubsubTarget())) return false;
         break;
       case 5:
-        if (!getAppEngineHttpTarget()
-            .equals(other.getAppEngineHttpTarget())) return false;
+        if (!getAppEngineHttpTarget().equals(other.getAppEngineHttpTarget())) return false;
         break;
       case 6:
-        if (!getHttpTarget()
-            .equals(other.getHttpTarget())) return false;
+        if (!getHttpTarget().equals(other.getHttpTarget())) return false;
         break;
       case 0:
       default:
@@ -1411,97 +1573,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1beta1.Job parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.Job parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.Job prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for a job.
    * The maximum allowed size for a job is 100KB.
@@ -1509,21 +1678,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.Job}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.Job)
       com.google.cloud.scheduler.v1beta1.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.JobProto
+          .internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.JobProto
+          .internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.Job.class, com.google.cloud.scheduler.v1beta1.Job.Builder.class);
+              com.google.cloud.scheduler.v1beta1.Job.class,
+              com.google.cloud.scheduler.v1beta1.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.Job.newBuilder()
@@ -1531,16 +1702,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1596,9 +1766,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.JobProto
+          .internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
     }
 
     @java.lang.Override
@@ -1617,7 +1787,8 @@ public com.google.cloud.scheduler.v1beta1.Job build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.Job buildPartial() {
-      com.google.cloud.scheduler.v1beta1.Job result = new com.google.cloud.scheduler.v1beta1.Job(this);
+      com.google.cloud.scheduler.v1beta1.Job result =
+          new com.google.cloud.scheduler.v1beta1.Job(this);
       result.name_ = name_;
       result.description_ = description_;
       if (targetCase_ == 4) {
@@ -1683,38 +1854,39 @@ public com.google.cloud.scheduler.v1beta1.Job buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.Job) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.Job)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.Job) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1761,21 +1933,25 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.Job other) {
         mergeAttemptDeadline(other.getAttemptDeadline());
       }
       switch (other.getTargetCase()) {
-        case PUBSUB_TARGET: {
-          mergePubsubTarget(other.getPubsubTarget());
-          break;
-        }
-        case APP_ENGINE_HTTP_TARGET: {
-          mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
-          break;
-        }
-        case HTTP_TARGET: {
-          mergeHttpTarget(other.getHttpTarget());
-          break;
-        }
-        case TARGET_NOT_SET: {
-          break;
-        }
+        case PUBSUB_TARGET:
+          {
+            mergePubsubTarget(other.getPubsubTarget());
+            break;
+          }
+        case APP_ENGINE_HTTP_TARGET:
+          {
+            mergeAppEngineHttpTarget(other.getAppEngineHttpTarget());
+            break;
+          }
+        case HTTP_TARGET:
+          {
+            mergeHttpTarget(other.getHttpTarget());
+            break;
+          }
+        case TARGET_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1805,12 +1981,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int targetCase_ = 0;
     private java.lang.Object target_;
-    public TargetCase
-        getTargetCase() {
-      return TargetCase.forNumber(
-          targetCase_);
+
+    public TargetCase getTargetCase() {
+      return TargetCase.forNumber(targetCase_);
     }
 
     public Builder clearTarget() {
@@ -1820,9 +1996,10 @@ public Builder clearTarget() {
       return this;
     }
 
-
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1842,13 +2019,13 @@ public Builder clearTarget() {
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1857,6 +2034,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1876,15 +2055,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1892,6 +2070,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1911,20 +2091,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1944,15 +2126,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
      * which it becomes output only.
@@ -1972,16 +2157,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1989,6 +2174,8 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -1997,13 +2184,13 @@ public Builder setNameBytes(
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2012,6 +2199,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2020,15 +2209,14 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2036,6 +2224,8 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2044,20 +2234,22 @@ public java.lang.String getDescription() {
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2066,15 +2258,18 @@ public Builder setDescription(
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
      * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -2083,29 +2278,35 @@ public Builder clearDescription() {
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.PubsubTarget, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> pubsubTargetBuilder_; + com.google.cloud.scheduler.v1beta1.PubsubTarget, + com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, + com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> + pubsubTargetBuilder_; /** + * + * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; + * * @return Whether the pubsubTarget field is set. */ @java.lang.Override @@ -2113,11 +2314,14 @@ public boolean hasPubsubTarget() { return targetCase_ == 4; } /** + * + * *
      * Pub/Sub target.
      * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; + * * @return The pubsubTarget. */ @java.lang.Override @@ -2135,6 +2339,8 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget() { } } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2155,6 +2361,8 @@ public Builder setPubsubTarget(com.google.cloud.scheduler.v1beta1.PubsubTarget v return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2173,6 +2381,8 @@ public Builder setPubsubTarget( return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2181,10 +2391,13 @@ public Builder setPubsubTarget( */ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1beta1.PubsubTarget value) { if (pubsubTargetBuilder_ == null) { - if (targetCase_ == 4 && - target_ != com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance()) { - target_ = com.google.cloud.scheduler.v1beta1.PubsubTarget.newBuilder((com.google.cloud.scheduler.v1beta1.PubsubTarget) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 4 + && target_ != com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance()) { + target_ = + com.google.cloud.scheduler.v1beta1.PubsubTarget.newBuilder( + (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -2200,6 +2413,8 @@ public Builder mergePubsubTarget(com.google.cloud.scheduler.v1beta1.PubsubTarget return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2223,6 +2438,8 @@ public Builder clearPubsubTarget() { return this; } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2233,6 +2450,8 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder getPubsubTargetBu return getPubsubTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2251,6 +2470,8 @@ public com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetO } } /** + * + * *
      * Pub/Sub target.
      * 
@@ -2258,32 +2479,44 @@ public com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetO * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.PubsubTarget, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> + com.google.cloud.scheduler.v1beta1.PubsubTarget, + com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, + com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder> getPubsubTargetFieldBuilder() { if (pubsubTargetBuilder_ == null) { if (!(targetCase_ == 4)) { target_ = com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance(); } - pubsubTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.PubsubTarget, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder>( + pubsubTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.PubsubTarget, + com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder, + com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder>( (com.google.cloud.scheduler.v1beta1.PubsubTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 4; - onChanged();; + onChanged(); + ; return pubsubTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> appEngineHttpTargetBuilder_; + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, + com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> + appEngineHttpTargetBuilder_; /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return Whether the appEngineHttpTarget field is set. */ @java.lang.Override @@ -2291,11 +2524,14 @@ public boolean hasAppEngineHttpTarget() { return targetCase_ == 5; } /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return The appEngineHttpTarget. */ @java.lang.Override @@ -2313,13 +2549,16 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTa } } /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ - public Builder setAppEngineHttpTarget(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { + public Builder setAppEngineHttpTarget( + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { if (appEngineHttpTargetBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2333,6 +2572,8 @@ public Builder setAppEngineHttpTarget(com.google.cloud.scheduler.v1beta1.AppEngi return this; } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2351,18 +2592,25 @@ public Builder setAppEngineHttpTarget( return this; } /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ - public Builder mergeAppEngineHttpTarget(com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { + public Builder mergeAppEngineHttpTarget( + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget value) { if (appEngineHttpTargetBuilder_ == null) { - if (targetCase_ == 5 && - target_ != com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance()) { - target_ = com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.newBuilder((com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 5 + && target_ + != com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance()) { + target_ = + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.newBuilder( + (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -2378,6 +2626,8 @@ public Builder mergeAppEngineHttpTarget(com.google.cloud.scheduler.v1beta1.AppEn return this; } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2401,16 +2651,21 @@ public Builder clearAppEngineHttpTarget() { return this; } /** + * + * *
      * App Engine HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ - public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder getAppEngineHttpTargetBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder + getAppEngineHttpTargetBuilder() { return getAppEngineHttpTargetFieldBuilder().getBuilder(); } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2418,7 +2673,8 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder getAppEngi * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder() { + public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder + getAppEngineHttpTargetOrBuilder() { if ((targetCase_ == 5) && (appEngineHttpTargetBuilder_ != null)) { return appEngineHttpTargetBuilder_.getMessageOrBuilder(); } else { @@ -2429,6 +2685,8 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEng } } /** + * + * *
      * App Engine HTTP target.
      * 
@@ -2436,32 +2694,44 @@ public com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEng * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, + com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder> getAppEngineHttpTargetFieldBuilder() { if (appEngineHttpTargetBuilder_ == null) { if (!(targetCase_ == 5)) { target_ = com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.getDefaultInstance(); } - appEngineHttpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder>( + appEngineHttpTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget, + com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget.Builder, + com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder>( (com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 5; - onChanged();; + onChanged(); + ; return appEngineHttpTargetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.HttpTarget, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> httpTargetBuilder_; + com.google.cloud.scheduler.v1beta1.HttpTarget, + com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, + com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> + httpTargetBuilder_; /** + * + * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; + * * @return Whether the httpTarget field is set. */ @java.lang.Override @@ -2469,11 +2739,14 @@ public boolean hasHttpTarget() { return targetCase_ == 6; } /** + * + * *
      * HTTP target.
      * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; + * * @return The httpTarget. */ @java.lang.Override @@ -2491,6 +2764,8 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget() { } } /** + * + * *
      * HTTP target.
      * 
@@ -2511,6 +2786,8 @@ public Builder setHttpTarget(com.google.cloud.scheduler.v1beta1.HttpTarget value return this; } /** + * + * *
      * HTTP target.
      * 
@@ -2529,6 +2806,8 @@ public Builder setHttpTarget( return this; } /** + * + * *
      * HTTP target.
      * 
@@ -2537,10 +2816,13 @@ public Builder setHttpTarget( */ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1beta1.HttpTarget value) { if (httpTargetBuilder_ == null) { - if (targetCase_ == 6 && - target_ != com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance()) { - target_ = com.google.cloud.scheduler.v1beta1.HttpTarget.newBuilder((com.google.cloud.scheduler.v1beta1.HttpTarget) target_) - .mergeFrom(value).buildPartial(); + if (targetCase_ == 6 + && target_ != com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance()) { + target_ = + com.google.cloud.scheduler.v1beta1.HttpTarget.newBuilder( + (com.google.cloud.scheduler.v1beta1.HttpTarget) target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -2556,6 +2838,8 @@ public Builder mergeHttpTarget(com.google.cloud.scheduler.v1beta1.HttpTarget val return this; } /** + * + * *
      * HTTP target.
      * 
@@ -2579,6 +2863,8 @@ public Builder clearHttpTarget() { return this; } /** + * + * *
      * HTTP target.
      * 
@@ -2589,6 +2875,8 @@ public com.google.cloud.scheduler.v1beta1.HttpTarget.Builder getHttpTargetBuilde return getHttpTargetFieldBuilder().getBuilder(); } /** + * + * *
      * HTTP target.
      * 
@@ -2607,6 +2895,8 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui } } /** + * + * *
      * HTTP target.
      * 
@@ -2614,26 +2904,34 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.HttpTarget, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> + com.google.cloud.scheduler.v1beta1.HttpTarget, + com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, + com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder> getHttpTargetFieldBuilder() { if (httpTargetBuilder_ == null) { if (!(targetCase_ == 6)) { target_ = com.google.cloud.scheduler.v1beta1.HttpTarget.getDefaultInstance(); } - httpTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.HttpTarget, com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder>( + httpTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.HttpTarget, + com.google.cloud.scheduler.v1beta1.HttpTarget.Builder, + com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder>( (com.google.cloud.scheduler.v1beta1.HttpTarget) target_, getParentForChildren(), isClean()); target_ = null; } targetCase_ = 6; - onChanged();; + onChanged(); + ; return httpTargetBuilder_; } private java.lang.Object schedule_ = ""; /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2656,13 +2954,13 @@ public com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBui
      * 
* * string schedule = 20; + * * @return The schedule. */ public java.lang.String getSchedule() { java.lang.Object ref = schedule_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schedule_ = s; return s; @@ -2671,6 +2969,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2693,15 +2993,14 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 20; + * * @return The bytes for schedule. */ - public com.google.protobuf.ByteString - getScheduleBytes() { + public com.google.protobuf.ByteString getScheduleBytes() { java.lang.Object ref = schedule_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schedule_ = b; return b; } else { @@ -2709,6 +3008,8 @@ public java.lang.String getSchedule() { } } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2731,20 +3032,22 @@ public java.lang.String getSchedule() {
      * 
* * string schedule = 20; + * * @param value The schedule to set. * @return This builder for chaining. */ - public Builder setSchedule( - java.lang.String value) { + public Builder setSchedule(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schedule_ = value; onChanged(); return this; } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2767,15 +3070,18 @@ public Builder setSchedule(
      * 
* * string schedule = 20; + * * @return This builder for chaining. */ public Builder clearSchedule() { - + schedule_ = getDefaultInstance().getSchedule(); onChanged(); return this; } /** + * + * *
      * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
      * Describes the schedule on which the job will be executed.
@@ -2798,16 +3104,16 @@ public Builder clearSchedule() {
      * 
* * string schedule = 20; + * * @param value The bytes for schedule to set. * @return This builder for chaining. */ - public Builder setScheduleBytes( - com.google.protobuf.ByteString value) { + public Builder setScheduleBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schedule_ = value; onChanged(); return this; @@ -2815,6 +3121,8 @@ public Builder setScheduleBytes( private java.lang.Object timeZone_ = ""; /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -2827,13 +3135,13 @@ public Builder setScheduleBytes(
      * 
* * string time_zone = 21; + * * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timeZone_ = s; return s; @@ -2842,6 +3150,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -2854,15 +3164,14 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 21; + * * @return The bytes for timeZone. */ - public com.google.protobuf.ByteString - getTimeZoneBytes() { + public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); timeZone_ = b; return b; } else { @@ -2870,6 +3179,8 @@ public java.lang.String getTimeZone() { } } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -2882,20 +3193,22 @@ public java.lang.String getTimeZone() {
      * 
* * string time_zone = 21; + * * @param value The timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZone( - java.lang.String value) { + public Builder setTimeZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + timeZone_ = value; onChanged(); return this; } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -2908,15 +3221,18 @@ public Builder setTimeZone(
      * 
* * string time_zone = 21; + * * @return This builder for chaining. */ public Builder clearTimeZone() { - + timeZone_ = getDefaultInstance().getTimeZone(); onChanged(); return this; } /** + * + * *
      * Specifies the time zone to be used in interpreting
      * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -2929,16 +3245,16 @@ public Builder clearTimeZone() {
      * 
* * string time_zone = 21; + * * @param value The bytes for timeZone to set. * @return This builder for chaining. */ - public Builder setTimeZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + timeZone_ = value; onChanged(); return this; @@ -2946,34 +3262,47 @@ public Builder setTimeZoneBytes( private com.google.protobuf.Timestamp userUpdateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> userUpdateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + userUpdateTimeBuilder_; /** + * + * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return Whether the userUpdateTime field is set. */ public boolean hasUserUpdateTime() { return userUpdateTimeBuilder_ != null || userUpdateTime_ != null; } /** + * + * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return The userUpdateTime. */ public com.google.protobuf.Timestamp getUserUpdateTime() { if (userUpdateTimeBuilder_ == null) { - return userUpdateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; + return userUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : userUpdateTime_; } else { return userUpdateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -2994,14 +3323,15 @@ public Builder setUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
* * .google.protobuf.Timestamp user_update_time = 9; */ - public Builder setUserUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUserUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (userUpdateTimeBuilder_ == null) { userUpdateTime_ = builderForValue.build(); onChanged(); @@ -3012,6 +3342,8 @@ public Builder setUserUpdateTime( return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3022,7 +3354,9 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { if (userUpdateTimeBuilder_ == null) { if (userUpdateTime_ != null) { userUpdateTime_ = - com.google.protobuf.Timestamp.newBuilder(userUpdateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(userUpdateTime_) + .mergeFrom(value) + .buildPartial(); } else { userUpdateTime_ = value; } @@ -3034,6 +3368,8 @@ public Builder mergeUserUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3052,6 +3388,8 @@ public Builder clearUserUpdateTime() { return this; } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3059,11 +3397,13 @@ public Builder clearUserUpdateTime() { * .google.protobuf.Timestamp user_update_time = 9; */ public com.google.protobuf.Timestamp.Builder getUserUpdateTimeBuilder() { - + onChanged(); return getUserUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3074,11 +3414,14 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { if (userUpdateTimeBuilder_ != null) { return userUpdateTimeBuilder_.getMessageOrBuilder(); } else { - return userUpdateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : userUpdateTime_; + return userUpdateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : userUpdateTime_; } } /** + * + * *
      * Output only. The creation time of the job.
      * 
@@ -3086,14 +3429,17 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { * .google.protobuf.Timestamp user_update_time = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getUserUpdateTimeFieldBuilder() { if (userUpdateTimeBuilder_ == null) { - userUpdateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUserUpdateTime(), - getParentForChildren(), - isClean()); + userUpdateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUserUpdateTime(), getParentForChildren(), isClean()); userUpdateTime_ = null; } return userUpdateTimeBuilder_; @@ -3101,51 +3447,65 @@ public com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @return The state. */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.Job.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.scheduler.v1beta1.Job.State result = com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); + com.google.cloud.scheduler.v1beta1.Job.State result = + com.google.cloud.scheduler.v1beta1.Job.State.valueOf(state_); return result == null ? com.google.cloud.scheduler.v1beta1.Job.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @param value The state to set. * @return This builder for chaining. */ @@ -3153,21 +3513,24 @@ public Builder setState(com.google.cloud.scheduler.v1beta1.Job.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. State of the job.
      * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3175,24 +3538,31 @@ public Builder clearState() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -3203,6 +3573,8 @@ public com.google.rpc.Status getStatus() { } } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3223,14 +3595,15 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
* * .google.rpc.Status status = 11; */ - public Builder setStatus( - com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); @@ -3241,6 +3614,8 @@ public Builder setStatus( return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3250,8 +3625,7 @@ public Builder setStatus( public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { if (status_ != null) { - status_ = - com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); + status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } @@ -3263,6 +3637,8 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3281,6 +3657,8 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3288,11 +3666,13 @@ public Builder clearStatus() { * .google.rpc.Status status = 11; */ public com.google.rpc.Status.Builder getStatusBuilder() { - + onChanged(); return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3303,11 +3683,12 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } } /** + * + * *
      * Output only. The response from the target for the last attempted execution.
      * 
@@ -3315,14 +3696,14 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; @@ -3330,8 +3711,13 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { private com.google.protobuf.Timestamp scheduleTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> scheduleTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + scheduleTimeBuilder_; /** + * + * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3339,12 +3725,15 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return Whether the scheduleTime field is set. */ public boolean hasScheduleTime() { return scheduleTimeBuilder_ != null || scheduleTime_ != null; } /** + * + * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3352,16 +3741,21 @@ public boolean hasScheduleTime() {
      * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return The scheduleTime. */ public com.google.protobuf.Timestamp getScheduleTime() { if (scheduleTimeBuilder_ == null) { - return scheduleTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_; + return scheduleTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : scheduleTime_; } else { return scheduleTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3384,6 +3778,8 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3392,8 +3788,7 @@ public Builder setScheduleTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp schedule_time = 17;
      */
-    public Builder setScheduleTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setScheduleTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (scheduleTimeBuilder_ == null) {
         scheduleTime_ = builderForValue.build();
         onChanged();
@@ -3404,6 +3799,8 @@ public Builder setScheduleTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3416,7 +3813,9 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       if (scheduleTimeBuilder_ == null) {
         if (scheduleTime_ != null) {
           scheduleTime_ =
-            com.google.protobuf.Timestamp.newBuilder(scheduleTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(scheduleTime_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           scheduleTime_ = value;
         }
@@ -3428,6 +3827,8 @@ public Builder mergeScheduleTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3448,6 +3849,8 @@ public Builder clearScheduleTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3457,11 +3860,13 @@ public Builder clearScheduleTime() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     public com.google.protobuf.Timestamp.Builder getScheduleTimeBuilder() {
-      
+
       onChanged();
       return getScheduleTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3474,11 +3879,14 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
       if (scheduleTimeBuilder_ != null) {
         return scheduleTimeBuilder_.getMessageOrBuilder();
       } else {
-        return scheduleTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : scheduleTime_;
+        return scheduleTime_ == null
+            ? com.google.protobuf.Timestamp.getDefaultInstance()
+            : scheduleTime_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The next time the job is scheduled. Note that this may be a
      * retry of a previously failed attempt or the next execution time
@@ -3488,14 +3896,17 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
      * .google.protobuf.Timestamp schedule_time = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getScheduleTimeFieldBuilder() {
       if (scheduleTimeBuilder_ == null) {
-        scheduleTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getScheduleTime(),
-                getParentForChildren(),
-                isClean());
+        scheduleTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getScheduleTime(), getParentForChildren(), isClean());
         scheduleTime_ = null;
       }
       return scheduleTimeBuilder_;
@@ -3503,34 +3914,47 @@ public com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp lastAttemptTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastAttemptTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        lastAttemptTimeBuilder_;
     /**
+     *
+     *
      * 
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return Whether the lastAttemptTime field is set. */ public boolean hasLastAttemptTime() { return lastAttemptTimeBuilder_ != null || lastAttemptTime_ != null; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return The lastAttemptTime. */ public com.google.protobuf.Timestamp getLastAttemptTime() { if (lastAttemptTimeBuilder_ == null) { - return lastAttemptTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; + return lastAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastAttemptTime_; } else { return lastAttemptTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3551,14 +3975,15 @@ public Builder setLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
* * .google.protobuf.Timestamp last_attempt_time = 18; */ - public Builder setLastAttemptTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastAttemptTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (lastAttemptTimeBuilder_ == null) { lastAttemptTime_ = builderForValue.build(); onChanged(); @@ -3569,6 +3994,8 @@ public Builder setLastAttemptTime( return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3579,7 +4006,9 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { if (lastAttemptTimeBuilder_ == null) { if (lastAttemptTime_ != null) { lastAttemptTime_ = - com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastAttemptTime_) + .mergeFrom(value) + .buildPartial(); } else { lastAttemptTime_ = value; } @@ -3591,6 +4020,8 @@ public Builder mergeLastAttemptTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3609,6 +4040,8 @@ public Builder clearLastAttemptTime() { return this; } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3616,11 +4049,13 @@ public Builder clearLastAttemptTime() { * .google.protobuf.Timestamp last_attempt_time = 18; */ public com.google.protobuf.Timestamp.Builder getLastAttemptTimeBuilder() { - + onChanged(); return getLastAttemptTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3631,11 +4066,14 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { if (lastAttemptTimeBuilder_ != null) { return lastAttemptTimeBuilder_.getMessageOrBuilder(); } else { - return lastAttemptTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : lastAttemptTime_; + return lastAttemptTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : lastAttemptTime_; } } /** + * + * *
      * Output only. The time the last job attempt started.
      * 
@@ -3643,14 +4081,17 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { * .google.protobuf.Timestamp last_attempt_time = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getLastAttemptTimeFieldBuilder() { if (lastAttemptTimeBuilder_ == null) { - lastAttemptTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getLastAttemptTime(), - getParentForChildren(), - isClean()); + lastAttemptTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getLastAttemptTime(), getParentForChildren(), isClean()); lastAttemptTime_ = null; } return lastAttemptTimeBuilder_; @@ -3658,34 +4099,47 @@ public com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder() { private com.google.cloud.scheduler.v1beta1.RetryConfig retryConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.RetryConfig, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> retryConfigBuilder_; + com.google.cloud.scheduler.v1beta1.RetryConfig, + com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, + com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> + retryConfigBuilder_; /** + * + * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; + * * @return Whether the retryConfig field is set. */ public boolean hasRetryConfig() { return retryConfigBuilder_ != null || retryConfig_ != null; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; + * * @return The retryConfig. */ public com.google.cloud.scheduler.v1beta1.RetryConfig getRetryConfig() { if (retryConfigBuilder_ == null) { - return retryConfig_ == null ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() + : retryConfig_; } else { return retryConfigBuilder_.getMessage(); } } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3706,6 +4160,8 @@ public Builder setRetryConfig(com.google.cloud.scheduler.v1beta1.RetryConfig val return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3724,6 +4180,8 @@ public Builder setRetryConfig( return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3734,7 +4192,9 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1beta1.RetryConfig v if (retryConfigBuilder_ == null) { if (retryConfig_ != null) { retryConfig_ = - com.google.cloud.scheduler.v1beta1.RetryConfig.newBuilder(retryConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.scheduler.v1beta1.RetryConfig.newBuilder(retryConfig_) + .mergeFrom(value) + .buildPartial(); } else { retryConfig_ = value; } @@ -3746,6 +4206,8 @@ public Builder mergeRetryConfig(com.google.cloud.scheduler.v1beta1.RetryConfig v return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3764,6 +4226,8 @@ public Builder clearRetryConfig() { return this; } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3771,11 +4235,13 @@ public Builder clearRetryConfig() { * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; */ public com.google.cloud.scheduler.v1beta1.RetryConfig.Builder getRetryConfigBuilder() { - + onChanged(); return getRetryConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3786,11 +4252,14 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB if (retryConfigBuilder_ != null) { return retryConfigBuilder_.getMessageOrBuilder(); } else { - return retryConfig_ == null ? - com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() : retryConfig_; + return retryConfig_ == null + ? com.google.cloud.scheduler.v1beta1.RetryConfig.getDefaultInstance() + : retryConfig_; } } /** + * + * *
      * Settings that determine the retry behavior.
      * 
@@ -3798,14 +4267,17 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.RetryConfig, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> + com.google.cloud.scheduler.v1beta1.RetryConfig, + com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, + com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder> getRetryConfigFieldBuilder() { if (retryConfigBuilder_ == null) { - retryConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.RetryConfig, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder>( - getRetryConfig(), - getParentForChildren(), - isClean()); + retryConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.RetryConfig, + com.google.cloud.scheduler.v1beta1.RetryConfig.Builder, + com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder>( + getRetryConfig(), getParentForChildren(), isClean()); retryConfig_ = null; } return retryConfigBuilder_; @@ -3813,8 +4285,13 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB private com.google.protobuf.Duration attemptDeadline_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> attemptDeadlineBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + attemptDeadlineBuilder_; /** + * + * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3829,12 +4306,15 @@ public com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrB
      * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return Whether the attemptDeadline field is set. */ public boolean hasAttemptDeadline() { return attemptDeadlineBuilder_ != null || attemptDeadline_ != null; } /** + * + * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3849,16 +4329,21 @@ public boolean hasAttemptDeadline() {
      * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return The attemptDeadline. */ public com.google.protobuf.Duration getAttemptDeadline() { if (attemptDeadlineBuilder_ == null) { - return attemptDeadline_ == null ? com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_; + return attemptDeadline_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : attemptDeadline_; } else { return attemptDeadlineBuilder_.getMessage(); } } /** + * + * *
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3888,6 +4373,8 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3903,8 +4390,7 @@ public Builder setAttemptDeadline(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration attempt_deadline = 22;
      */
-    public Builder setAttemptDeadline(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setAttemptDeadline(com.google.protobuf.Duration.Builder builderForValue) {
       if (attemptDeadlineBuilder_ == null) {
         attemptDeadline_ = builderForValue.build();
         onChanged();
@@ -3915,6 +4401,8 @@ public Builder setAttemptDeadline(
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3934,7 +4422,9 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       if (attemptDeadlineBuilder_ == null) {
         if (attemptDeadline_ != null) {
           attemptDeadline_ =
-            com.google.protobuf.Duration.newBuilder(attemptDeadline_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(attemptDeadline_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           attemptDeadline_ = value;
         }
@@ -3946,6 +4436,8 @@ public Builder mergeAttemptDeadline(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3973,6 +4465,8 @@ public Builder clearAttemptDeadline() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -3989,11 +4483,13 @@ public Builder clearAttemptDeadline() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     public com.google.protobuf.Duration.Builder getAttemptDeadlineBuilder() {
-      
+
       onChanged();
       return getAttemptDeadlineFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4013,11 +4509,14 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
       if (attemptDeadlineBuilder_ != null) {
         return attemptDeadlineBuilder_.getMessageOrBuilder();
       } else {
-        return attemptDeadline_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : attemptDeadline_;
+        return attemptDeadline_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : attemptDeadline_;
       }
     }
     /**
+     *
+     *
      * 
      * The deadline for job attempts. If the request handler does not respond by
      * this deadline then the request is cancelled and the attempt is marked as a
@@ -4034,21 +4533,24 @@ public com.google.protobuf.DurationOrBuilder getAttemptDeadlineOrBuilder() {
      * .google.protobuf.Duration attempt_deadline = 22;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getAttemptDeadlineFieldBuilder() {
       if (attemptDeadlineBuilder_ == null) {
-        attemptDeadlineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getAttemptDeadline(),
-                getParentForChildren(),
-                isClean());
+        attemptDeadlineBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getAttemptDeadline(), getParentForChildren(), isClean());
         attemptDeadline_ = null;
       }
       return attemptDeadlineBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4058,12 +4560,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.Job)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.Job)
   private static final com.google.cloud.scheduler.v1beta1.Job DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.Job();
   }
@@ -4072,16 +4574,16 @@ public static com.google.cloud.scheduler.v1beta1.Job getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Job parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Job(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Job parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Job(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4096,6 +4598,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1beta1.Job getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java
similarity index 100%
rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java
rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobName.java
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
similarity index 92%
rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
index c08074e8..28629173 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
+++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/job.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
-public interface JobOrBuilder extends
+public interface JobOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.Job)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -27,10 +45,13 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after
    * which it becomes output only.
@@ -50,12 +71,14 @@ public interface JobOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -64,10 +87,13 @@ public interface JobOrBuilder extends
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or
    * [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
@@ -76,30 +102,38 @@ public interface JobOrBuilder extends
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; + * * @return Whether the pubsubTarget field is set. */ boolean hasPubsubTarget(); /** + * + * *
    * Pub/Sub target.
    * 
* * .google.cloud.scheduler.v1beta1.PubsubTarget pubsub_target = 4; + * * @return The pubsubTarget. */ com.google.cloud.scheduler.v1beta1.PubsubTarget getPubsubTarget(); /** + * + * *
    * Pub/Sub target.
    * 
@@ -109,24 +143,32 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder getPubsubTargetOrBuilder(); /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return Whether the appEngineHttpTarget field is set. */ boolean hasAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.AppEngineHttpTarget app_engine_http_target = 5; + * * @return The appEngineHttpTarget. */ com.google.cloud.scheduler.v1beta1.AppEngineHttpTarget getAppEngineHttpTarget(); /** + * + * *
    * App Engine HTTP target.
    * 
@@ -136,24 +178,32 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1beta1.AppEngineHttpTargetOrBuilder getAppEngineHttpTargetOrBuilder(); /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; + * * @return Whether the httpTarget field is set. */ boolean hasHttpTarget(); /** + * + * *
    * HTTP target.
    * 
* * .google.cloud.scheduler.v1beta1.HttpTarget http_target = 6; + * * @return The httpTarget. */ com.google.cloud.scheduler.v1beta1.HttpTarget getHttpTarget(); /** + * + * *
    * HTTP target.
    * 
@@ -163,6 +213,8 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1beta1.HttpTargetOrBuilder getHttpTargetOrBuilder(); /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -185,10 +237,13 @@ public interface JobOrBuilder extends
    * 
* * string schedule = 20; + * * @return The schedule. */ java.lang.String getSchedule(); /** + * + * *
    * Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * Describes the schedule on which the job will be executed.
@@ -211,12 +266,14 @@ public interface JobOrBuilder extends
    * 
* * string schedule = 20; + * * @return The bytes for schedule. */ - com.google.protobuf.ByteString - getScheduleBytes(); + com.google.protobuf.ByteString getScheduleBytes(); /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -229,10 +286,13 @@ public interface JobOrBuilder extends
    * 
* * string time_zone = 21; + * * @return The timeZone. */ java.lang.String getTimeZone(); /** + * + * *
    * Specifies the time zone to be used in interpreting
    * [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time
@@ -245,30 +305,38 @@ public interface JobOrBuilder extends
    * 
* * string time_zone = 21; + * * @return The bytes for timeZone. */ - com.google.protobuf.ByteString - getTimeZoneBytes(); + com.google.protobuf.ByteString getTimeZoneBytes(); /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return Whether the userUpdateTime field is set. */ boolean hasUserUpdateTime(); /** + * + * *
    * Output only. The creation time of the job.
    * 
* * .google.protobuf.Timestamp user_update_time = 9; + * * @return The userUpdateTime. */ com.google.protobuf.Timestamp getUserUpdateTime(); /** + * + * *
    * Output only. The creation time of the job.
    * 
@@ -278,43 +346,57 @@ public interface JobOrBuilder extends com.google.protobuf.TimestampOrBuilder getUserUpdateTimeOrBuilder(); /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. State of the job.
    * 
* * .google.cloud.scheduler.v1beta1.Job.State state = 10; + * * @return The state. */ com.google.cloud.scheduler.v1beta1.Job.State getState(); /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
* * .google.rpc.Status status = 11; + * * @return The status. */ com.google.rpc.Status getStatus(); /** + * + * *
    * Output only. The response from the target for the last attempted execution.
    * 
@@ -324,6 +406,8 @@ public interface JobOrBuilder extends com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -331,10 +415,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return Whether the scheduleTime field is set. */ boolean hasScheduleTime(); /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -342,10 +429,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Timestamp schedule_time = 17; + * * @return The scheduleTime. */ com.google.protobuf.Timestamp getScheduleTime(); /** + * + * *
    * Output only. The next time the job is scheduled. Note that this may be a
    * retry of a previously failed attempt or the next execution time
@@ -357,24 +447,32 @@ public interface JobOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getScheduleTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return Whether the lastAttemptTime field is set. */ boolean hasLastAttemptTime(); /** + * + * *
    * Output only. The time the last job attempt started.
    * 
* * .google.protobuf.Timestamp last_attempt_time = 18; + * * @return The lastAttemptTime. */ com.google.protobuf.Timestamp getLastAttemptTime(); /** + * + * *
    * Output only. The time the last job attempt started.
    * 
@@ -384,24 +482,32 @@ public interface JobOrBuilder extends com.google.protobuf.TimestampOrBuilder getLastAttemptTimeOrBuilder(); /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; + * * @return Whether the retryConfig field is set. */ boolean hasRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * 
* * .google.cloud.scheduler.v1beta1.RetryConfig retry_config = 19; + * * @return The retryConfig. */ com.google.cloud.scheduler.v1beta1.RetryConfig getRetryConfig(); /** + * + * *
    * Settings that determine the retry behavior.
    * 
@@ -411,6 +517,8 @@ public interface JobOrBuilder extends com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder getRetryConfigOrBuilder(); /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -425,10 +533,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return Whether the attemptDeadline field is set. */ boolean hasAttemptDeadline(); /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
@@ -443,10 +554,13 @@ public interface JobOrBuilder extends
    * 
* * .google.protobuf.Duration attempt_deadline = 22; + * * @return The attemptDeadline. */ com.google.protobuf.Duration getAttemptDeadline(); /** + * + * *
    * The deadline for job attempts. If the request handler does not respond by
    * this deadline then the request is cancelled and the attempt is marked as a
diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java
new file mode 100644
index 00000000..3272fc4b
--- /dev/null
+++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/JobProto.java
@@ -0,0 +1,145 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/scheduler/v1beta1/job.proto
+
+package com.google.cloud.scheduler.v1beta1;
+
+public final class JobProto {
+  private JobProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_scheduler_v1beta1_Job_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n(google/cloud/scheduler/v1beta1/job.pro"
+          + "to\022\036google.cloud.scheduler.v1beta1\032\031goog"
+          + "le/api/resource.proto\032+google/cloud/sche"
+          + "duler/v1beta1/target.proto\032\036google/proto"
+          + "buf/duration.proto\032\037google/protobuf/time"
+          + "stamp.proto\032\027google/rpc/status.proto\032\034go"
+          + "ogle/api/annotations.proto\"\344\006\n\003Job\022\014\n\004na"
+          + "me\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022E\n\rpubsub_"
+          + "target\030\004 \001(\0132,.google.cloud.scheduler.v1"
+          + "beta1.PubsubTargetH\000\022U\n\026app_engine_http_"
+          + "target\030\005 \001(\01323.google.cloud.scheduler.v1"
+          + "beta1.AppEngineHttpTargetH\000\022A\n\013http_targ"
+          + "et\030\006 \001(\0132*.google.cloud.scheduler.v1beta"
+          + "1.HttpTargetH\000\022\020\n\010schedule\030\024 \001(\t\022\021\n\ttime"
+          + "_zone\030\025 \001(\t\0224\n\020user_update_time\030\t \001(\0132\032."
+          + "google.protobuf.Timestamp\0228\n\005state\030\n \001(\016"
+          + "2).google.cloud.scheduler.v1beta1.Job.St"
+          + "ate\022\"\n\006status\030\013 \001(\0132\022.google.rpc.Status\022"
+          + "1\n\rschedule_time\030\021 \001(\0132\032.google.protobuf"
+          + ".Timestamp\0225\n\021last_attempt_time\030\022 \001(\0132\032."
+          + "google.protobuf.Timestamp\022A\n\014retry_confi"
+          + "g\030\023 \001(\0132+.google.cloud.scheduler.v1beta1"
+          + ".RetryConfig\0223\n\020attempt_deadline\030\026 \001(\0132\031"
+          + ".google.protobuf.Duration\"X\n\005State\022\025\n\021ST"
+          + "ATE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\n\n\006PAUSED"
+          + "\020\002\022\014\n\010DISABLED\020\003\022\021\n\rUPDATE_FAILED\020\004:Z\352AW"
+          + "\n!cloudscheduler.googleapis.com/Job\0222pro"
+          + "jects/{project}/locations/{location}/job"
+          + "s/{job}B\010\n\006target\"\342\001\n\013RetryConfig\022\023\n\013ret"
+          + "ry_count\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001"
+          + "(\0132\031.google.protobuf.Duration\0227\n\024min_bac"
+          + "koff_duration\030\003 \001(\0132\031.google.protobuf.Du"
+          + "ration\0227\n\024max_backoff_duration\030\004 \001(\0132\031.g"
+          + "oogle.protobuf.Duration\022\025\n\rmax_doublings"
+          + "\030\005 \001(\005By\n\"com.google.cloud.scheduler.v1b"
+          + "eta1B\010JobProtoP\001ZGgoogle.golang.org/genp"
+          + "roto/googleapis/cloud/scheduler/v1beta1;"
+          + "schedulerb\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor(),
+              com.google.protobuf.DurationProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.rpc.StatusProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
+            });
+    internal_static_google_cloud_scheduler_v1beta1_Job_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_scheduler_v1beta1_Job_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_scheduler_v1beta1_Job_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "Description",
+              "PubsubTarget",
+              "AppEngineHttpTarget",
+              "HttpTarget",
+              "Schedule",
+              "TimeZone",
+              "UserUpdateTime",
+              "State",
+              "Status",
+              "ScheduleTime",
+              "LastAttemptTime",
+              "RetryConfig",
+              "AttemptDeadline",
+              "Target",
+            });
+    internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor,
+            new java.lang.String[] {
+              "RetryCount",
+              "MaxRetryDuration",
+              "MinBackoffDuration",
+              "MaxBackoffDuration",
+              "MaxDoublings",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.scheduler.v1beta1.TargetProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.rpc.StatusProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
similarity index 72%
rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
index 680e868c..8bc0c40b 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
+++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsRequest} */ -public final class ListJobsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.ListJobsRequest) ListJobsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListJobsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListJobsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListJobsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 40: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 40: + { + pageSize_ = input.readInt32(); + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,42 @@ private ListJobsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, + com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,30 +148,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 5; private int pageSize_; /** + * + * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -165,6 +195,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -175,6 +206,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object pageToken_; /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -186,6 +219,7 @@ public int getPageSize() {
    * 
* * string page_token = 6; + * * @return The pageToken. */ @java.lang.Override @@ -194,14 +228,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -213,16 +248,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -231,6 +265,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -266,8 +300,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pageToken_); @@ -280,19 +313,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.ListJobsRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.ListJobsRequest other = (com.google.cloud.scheduler.v1beta1.ListJobsRequest) obj; + com.google.cloud.scheduler.v1beta1.ListJobsRequest other = + (com.google.cloud.scheduler.v1beta1.ListJobsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -316,117 +347,126 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.ListJobsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.ListJobsRequest) com.google.cloud.scheduler.v1beta1.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsRequest.class, + com.google.cloud.scheduler.v1beta1.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.ListJobsRequest.newBuilder() @@ -434,16 +474,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -457,9 +496,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; } @java.lang.Override @@ -478,7 +517,8 @@ public com.google.cloud.scheduler.v1beta1.ListJobsRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.ListJobsRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.ListJobsRequest result = new com.google.cloud.scheduler.v1beta1.ListJobsRequest(this); + com.google.cloud.scheduler.v1beta1.ListJobsRequest result = + new com.google.cloud.scheduler.v1beta1.ListJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -490,38 +530,39 @@ public com.google.cloud.scheduler.v1beta1.ListJobsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.ListJobsRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsRequest) other); } else { super.mergeFrom(other); return this; @@ -529,7 +570,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ListJobsRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.ListJobsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.scheduler.v1beta1.ListJobsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -560,7 +602,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.scheduler.v1beta1.ListJobsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.scheduler.v1beta1.ListJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -572,19 +615,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -593,21 +640,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -615,64 +665,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -682,6 +747,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 5; + * * @return The pageSize. */ @java.lang.Override @@ -689,6 +755,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -698,16 +766,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 5; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Requested page size.
      * The maximum page size is 500. If unspecified, the page size will
@@ -717,10 +788,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 5; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -728,6 +800,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -739,13 +813,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 6; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -754,6 +828,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -765,15 +841,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -781,6 +856,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -792,20 +869,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 6; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -817,15 +896,18 @@ public Builder setPageToken(
      * 
* * string page_token = 6; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server will return. To
      * request the first page results, page_token must be empty. To
@@ -837,23 +919,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 6; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -863,12 +945,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.ListJobsRequest) private static final com.google.cloud.scheduler.v1beta1.ListJobsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.ListJobsRequest(); } @@ -877,16 +959,16 @@ public static com.google.cloud.scheduler.v1beta1.ListJobsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -901,6 +983,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java index 130b4af5..b2a579c0 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface ListJobsRequestOrBuilder extends +public interface ListJobsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Requested page size.
    * The maximum page size is 500. If unspecified, the page size will
@@ -39,11 +66,14 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * int32 page_size = 5; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -55,10 +85,13 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server will return. To
    * request the first page results, page_token must be empty. To
@@ -70,8 +103,8 @@ public interface ListJobsRequestOrBuilder extends
    * 
* * string page_token = 6; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java index c3464ad1..23b010c7 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsResponse} */ -public final class ListJobsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.ListJobsResponse) ListJobsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListJobsResponse() { jobs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListJobsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListJobsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListJobsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - jobs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + jobs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + jobs_.add( + input.readMessage( + com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry)); + break; } - jobs_.add( - input.readMessage(com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListJobsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobs_ = java.util.Collections.unmodifiableList(jobs_); @@ -94,22 +113,27 @@ private ListJobsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, + com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** + * + * *
    * The list of jobs.
    * 
@@ -121,6 +145,8 @@ public java.util.List getJobsList() { return jobs_; } /** + * + * *
    * The list of jobs.
    * 
@@ -128,11 +154,13 @@ public java.util.List getJobsList() { * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ @java.lang.Override - public java.util.List + public java.util.List getJobsOrBuilderList() { return jobs_; } /** + * + * *
    * The list of jobs.
    * 
@@ -144,6 +172,8 @@ public int getJobsCount() { return jobs_.size(); } /** + * + * *
    * The list of jobs.
    * 
@@ -155,6 +185,8 @@ public com.google.cloud.scheduler.v1beta1.Job getJobs(int index) { return jobs_.get(index); } /** + * + * *
    * The list of jobs.
    * 
@@ -162,14 +194,15 @@ public com.google.cloud.scheduler.v1beta1.Job getJobs(int index) { * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int index) { return jobs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -180,6 +213,7 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -188,14 +222,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -206,16 +241,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < jobs_.size(); i++) { output.writeMessage(1, jobs_.get(i)); } @@ -253,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < jobs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, jobs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, jobs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -267,17 +300,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.ListJobsResponse)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.ListJobsResponse other = (com.google.cloud.scheduler.v1beta1.ListJobsResponse) obj; + com.google.cloud.scheduler.v1beta1.ListJobsResponse other = + (com.google.cloud.scheduler.v1beta1.ListJobsResponse) obj; - if (!getJobsList() - .equals(other.getJobsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getJobsList().equals(other.getJobsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,117 +333,126 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.ListJobsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ListJobsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.ListJobsResponse) com.google.cloud.scheduler.v1beta1.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); + com.google.cloud.scheduler.v1beta1.ListJobsResponse.class, + com.google.cloud.scheduler.v1beta1.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.ListJobsResponse.newBuilder() @@ -419,17 +460,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getJobsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; } @java.lang.Override @@ -466,7 +507,8 @@ public com.google.cloud.scheduler.v1beta1.ListJobsResponse build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.ListJobsResponse buildPartial() { - com.google.cloud.scheduler.v1beta1.ListJobsResponse result = new com.google.cloud.scheduler.v1beta1.ListJobsResponse(this); + com.google.cloud.scheduler.v1beta1.ListJobsResponse result = + new com.google.cloud.scheduler.v1beta1.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -486,38 +528,39 @@ public com.google.cloud.scheduler.v1beta1.ListJobsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.ListJobsResponse) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsResponse)other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.ListJobsResponse) other); } else { super.mergeFrom(other); return this; @@ -525,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ListJobsResponse other) { - if (other == com.google.cloud.scheduler.v1beta1.ListJobsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.scheduler.v1beta1.ListJobsResponse.getDefaultInstance()) + return this; if (jobsBuilder_ == null) { if (!other.jobs_.isEmpty()) { if (jobs_.isEmpty()) { @@ -544,9 +588,10 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ListJobsResponse oth jobsBuilder_ = null; jobs_ = other.jobs_; bitField0_ = (bitField0_ & ~0x00000001); - jobsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getJobsFieldBuilder() : null; + jobsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getJobsFieldBuilder() + : null; } else { jobsBuilder_.addAllMessages(other.jobs_); } @@ -575,7 +620,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.scheduler.v1beta1.ListJobsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.scheduler.v1beta1.ListJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -584,21 +630,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List jobs_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureJobsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobs_ = new java.util.ArrayList(jobs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> jobsBuilder_; + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder> + jobsBuilder_; /** + * + * *
      * The list of jobs.
      * 
@@ -613,6 +666,8 @@ public java.util.List getJobsList() { } } /** + * + * *
      * The list of jobs.
      * 
@@ -627,6 +682,8 @@ public int getJobsCount() { } } /** + * + * *
      * The list of jobs.
      * 
@@ -641,14 +698,15 @@ public com.google.cloud.scheduler.v1beta1.Job getJobs(int index) { } } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public Builder setJobs( - int index, com.google.cloud.scheduler.v1beta1.Job value) { + public Builder setJobs(int index, com.google.cloud.scheduler.v1beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,6 +720,8 @@ public Builder setJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -680,6 +740,8 @@ public Builder setJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -700,14 +762,15 @@ public Builder addJobs(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public Builder addJobs( - int index, com.google.cloud.scheduler.v1beta1.Job value) { + public Builder addJobs(int index, com.google.cloud.scheduler.v1beta1.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -721,14 +784,15 @@ public Builder addJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public Builder addJobs( - com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { + public Builder addJobs(com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -739,6 +803,8 @@ public Builder addJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -757,6 +823,8 @@ public Builder addJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -767,8 +835,7 @@ public Builder addAllJobs( java.lang.Iterable values) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, jobs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, jobs_); onChanged(); } else { jobsBuilder_.addAllMessages(values); @@ -776,6 +843,8 @@ public Builder addAllJobs( return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -793,6 +862,8 @@ public Builder clearJobs() { return this; } /** + * + * *
      * The list of jobs.
      * 
@@ -810,39 +881,44 @@ public Builder removeJobs(int index) { return this; } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1beta1.Job.Builder getJobsBuilder( - int index) { + public com.google.cloud.scheduler.v1beta1.Job.Builder getJobsBuilder(int index) { return getJobsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( - int index) { + public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); } else { + return jobs_.get(index); + } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public java.util.List - getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -850,6 +926,8 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( } } /** + * + * *
      * The list of jobs.
      * 
@@ -857,42 +935,47 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder( - com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); + return getJobsFieldBuilder() + .addBuilder(com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder( - int index) { - return getJobsFieldBuilder().addBuilder( - index, com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); + public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder(int index) { + return getJobsFieldBuilder() + .addBuilder(index, com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance()); } /** + * + * *
      * The list of jobs.
      * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - public java.util.List - getJobsBuilderList() { + public java.util.List getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder>( - jobs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + jobsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder>( + jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobs_ = null; } return jobsBuilder_; @@ -900,6 +983,8 @@ public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -910,13 +995,13 @@ public com.google.cloud.scheduler.v1beta1.Job.Builder addJobsBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -925,6 +1010,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -935,15 +1022,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -951,6 +1037,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -961,20 +1049,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -985,15 +1075,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token to retrieve next page of results. Pass this value in the
      * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -1004,23 +1097,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1030,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.ListJobsResponse) private static final com.google.cloud.scheduler.v1beta1.ListJobsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.ListJobsResponse(); } @@ -1044,16 +1137,16 @@ public static com.google.cloud.scheduler.v1beta1.ListJobsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListJobsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListJobsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListJobsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListJobsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1068,6 +1161,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java index 9708c9cd..37621cf5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ListJobsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface ListJobsResponseOrBuilder extends +public interface ListJobsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - java.util.List - getJobsList(); + java.util.List getJobsList(); /** + * + * *
    * The list of jobs.
    * 
@@ -25,6 +44,8 @@ public interface ListJobsResponseOrBuilder extends */ com.google.cloud.scheduler.v1beta1.Job getJobs(int index); /** + * + * *
    * The list of jobs.
    * 
@@ -33,25 +54,29 @@ public interface ListJobsResponseOrBuilder extends */ int getJobsCount(); /** + * + * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - java.util.List - getJobsOrBuilderList(); + java.util.List getJobsOrBuilderList(); /** + * + * *
    * The list of jobs.
    * 
* * repeated .google.cloud.scheduler.v1beta1.Job jobs = 1; */ - com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder( - int index); + com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(int index); /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -62,10 +87,13 @@ com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve next page of results. Pass this value in the
    * [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to
@@ -76,8 +104,8 @@ com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/LocationName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java index e4dd8701..a623b895 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Contains information needed for generating an
  * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.OAuthToken}
  */
-public final class OAuthToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.OAuthToken)
     OAuthTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OAuthToken.newBuilder() to construct.
   private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OAuthToken() {
     serviceAccountEmail_ = "";
     scope_ = "";
@@ -29,16 +47,15 @@ private OAuthToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OAuthToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OAuthToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,25 +74,27 @@ private OAuthToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            scope_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              scope_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -83,29 +102,33 @@ private OAuthToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.OAuthToken.class, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
+            com.google.cloud.scheduler.v1beta1.OAuthToken.class,
+            com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -114,6 +137,7 @@ private OAuthToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -122,14 +146,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -138,16 +163,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -158,6 +182,8 @@ public java.lang.String getServiceAccountEmail() { public static final int SCOPE_FIELD_NUMBER = 2; private volatile java.lang.Object scope_; /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -165,6 +191,7 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string scope = 2; + * * @return The scope. */ @java.lang.Override @@ -173,14 +200,15 @@ public java.lang.String getScope() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; } } /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -188,16 +216,15 @@ public java.lang.String getScope() {
    * 
* * string scope = 2; + * * @return The bytes for scope. */ @java.lang.Override - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -206,6 +233,7 @@ public java.lang.String getScope() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -248,17 +275,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.OAuthToken)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.OAuthToken other = (com.google.cloud.scheduler.v1beta1.OAuthToken) obj; + com.google.cloud.scheduler.v1beta1.OAuthToken other = + (com.google.cloud.scheduler.v1beta1.OAuthToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getScope() - .equals(other.getScope())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,97 +305,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.OAuthToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.OAuthToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.OAuthToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.OAuthToken)
       com.google.cloud.scheduler.v1beta1.OAuthTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.OAuthToken.class, com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
+              com.google.cloud.scheduler.v1beta1.OAuthToken.class,
+              com.google.cloud.scheduler.v1beta1.OAuthToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.OAuthToken.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.OAuthToken buildPartial() {
-      com.google.cloud.scheduler.v1beta1.OAuthToken result = new com.google.cloud.scheduler.v1beta1.OAuthToken(this);
+      com.google.cloud.scheduler.v1beta1.OAuthToken result =
+          new com.google.cloud.scheduler.v1beta1.OAuthToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.scope_ = scope_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.cloud.scheduler.v1beta1.OAuthToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.OAuthToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.OAuthToken)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.OAuthToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,6 +569,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -541,13 +579,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -556,6 +594,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -564,15 +604,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -580,6 +619,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -588,20 +629,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -610,15 +653,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OAuth token.
@@ -627,16 +673,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -644,6 +690,8 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object scope_ = ""; /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -651,13 +699,13 @@ public Builder setServiceAccountEmailBytes(
      * 
* * string scope = 2; + * * @return The scope. */ public java.lang.String getScope() { java.lang.Object ref = scope_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); scope_ = s; return s; @@ -666,6 +714,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -673,15 +723,14 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @return The bytes for scope. */ - public com.google.protobuf.ByteString - getScopeBytes() { + public com.google.protobuf.ByteString getScopeBytes() { java.lang.Object ref = scope_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); scope_ = b; return b; } else { @@ -689,6 +738,8 @@ public java.lang.String getScope() { } } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -696,20 +747,22 @@ public java.lang.String getScope() {
      * 
* * string scope = 2; + * * @param value The scope to set. * @return This builder for chaining. */ - public Builder setScope( - java.lang.String value) { + public Builder setScope(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + scope_ = value; onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -717,15 +770,18 @@ public Builder setScope(
      * 
* * string scope = 2; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /** + * + * *
      * OAuth scope to be used for generating OAuth access token.
      * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -733,23 +789,23 @@ public Builder clearScope() {
      * 
* * string scope = 2; + * * @param value The bytes for scope to set. * @return This builder for chaining. */ - public Builder setScopeBytes( - com.google.protobuf.ByteString value) { + public Builder setScopeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + scope_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.OAuthToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.OAuthToken) private static final com.google.cloud.scheduler.v1beta1.OAuthToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.OAuthToken(); } @@ -773,16 +829,16 @@ public static com.google.cloud.scheduler.v1beta1.OAuthToken getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OAuthToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OAuthToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -797,6 +853,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.OAuthToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java index 8d34b9fa..7686a9e8 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OAuthTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface OAuthTokenOrBuilder extends +public interface OAuthTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.OAuthToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -16,10 +34,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OAuth token.
@@ -28,12 +49,14 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -41,10 +64,13 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The scope. */ java.lang.String getScope(); /** + * + * *
    * OAuth scope to be used for generating OAuth access token.
    * If not specified, "https://www.googleapis.com/auth/cloud-platform"
@@ -52,8 +78,8 @@ public interface OAuthTokenOrBuilder extends
    * 
* * string scope = 2; + * * @return The bytes for scope. */ - com.google.protobuf.ByteString - getScopeBytes(); + com.google.protobuf.ByteString getScopeBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java index 869e6aa3..b5d41aa4 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcToken.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Contains information needed for generating an
  * [OpenID Connect
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.OidcToken}
  */
-public final class OidcToken extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class OidcToken extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.OidcToken)
     OidcTokenOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use OidcToken.newBuilder() to construct.
   private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private OidcToken() {
     serviceAccountEmail_ = "";
     audience_ = "";
@@ -31,16 +49,15 @@ private OidcToken() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new OidcToken();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private OidcToken(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,25 +76,27 @@ private OidcToken(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            serviceAccountEmail_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              serviceAccountEmail_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            audience_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              audience_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -85,29 +104,33 @@ private OidcToken(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.OidcToken.class, com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
+            com.google.cloud.scheduler.v1beta1.OidcToken.class,
+            com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
   }
 
   public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1;
   private volatile java.lang.Object serviceAccountEmail_;
   /**
+   *
+   *
    * 
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -116,6 +139,7 @@ private OidcToken(
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -124,14 +148,15 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -140,16 +165,15 @@ public java.lang.String getServiceAccountEmail() {
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -160,12 +184,15 @@ public java.lang.String getServiceAccountEmail() { public static final int AUDIENCE_FIELD_NUMBER = 2; private volatile java.lang.Object audience_; /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ @java.lang.Override @@ -174,30 +201,30 @@ public java.lang.String getAudience() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; } } /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ @java.lang.Override - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -206,6 +233,7 @@ public java.lang.String getAudience() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +245,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); } @@ -248,17 +275,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.OidcToken)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.OidcToken other = (com.google.cloud.scheduler.v1beta1.OidcToken) obj; + com.google.cloud.scheduler.v1beta1.OidcToken other = + (com.google.cloud.scheduler.v1beta1.OidcToken) obj; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,97 +305,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.OidcToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.OidcToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information needed for generating an
    * [OpenID Connect
@@ -381,21 +414,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.OidcToken}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.OidcToken)
       com.google.cloud.scheduler.v1beta1.OidcTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.OidcToken.class, com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
+              com.google.cloud.scheduler.v1beta1.OidcToken.class,
+              com.google.cloud.scheduler.v1beta1.OidcToken.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.OidcToken.newBuilder()
@@ -403,16 +438,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +458,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor;
     }
 
     @java.lang.Override
@@ -445,7 +479,8 @@ public com.google.cloud.scheduler.v1beta1.OidcToken build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.OidcToken buildPartial() {
-      com.google.cloud.scheduler.v1beta1.OidcToken result = new com.google.cloud.scheduler.v1beta1.OidcToken(this);
+      com.google.cloud.scheduler.v1beta1.OidcToken result =
+          new com.google.cloud.scheduler.v1beta1.OidcToken(this);
       result.serviceAccountEmail_ = serviceAccountEmail_;
       result.audience_ = audience_;
       onBuilt();
@@ -456,38 +491,39 @@ public com.google.cloud.scheduler.v1beta1.OidcToken buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.OidcToken) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.OidcToken)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.OidcToken) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,6 +571,8 @@ public Builder mergeFrom(
 
     private java.lang.Object serviceAccountEmail_ = "";
     /**
+     *
+     *
      * 
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -543,13 +581,13 @@ public Builder mergeFrom(
      * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -558,6 +596,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -566,15 +606,14 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -582,6 +621,8 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -590,20 +631,22 @@ public java.lang.String getServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -612,15 +655,18 @@ public Builder setServiceAccountEmail(
      * 
* * string service_account_email = 1; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
      * to be used for generating OIDC token.
@@ -629,16 +675,16 @@ public Builder clearServiceAccountEmail() {
      * 
* * string service_account_email = 1; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -646,19 +692,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object audience_ = ""; /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The audience. */ public java.lang.String getAudience() { java.lang.Object ref = audience_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); audience_ = s; return s; @@ -667,21 +715,22 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return The bytes for audience. */ - public com.google.protobuf.ByteString - getAudienceBytes() { + public com.google.protobuf.ByteString getAudienceBytes() { java.lang.Object ref = audience_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); audience_ = b; return b; } else { @@ -689,64 +738,71 @@ public java.lang.String getAudience() { } } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The audience to set. * @return This builder for chaining. */ - public Builder setAudience( - java.lang.String value) { + public Builder setAudience(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + audience_ = value; onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @return This builder for chaining. */ public Builder clearAudience() { - + audience_ = getDefaultInstance().getAudience(); onChanged(); return this; } /** + * + * *
      * Audience to be used when generating OIDC token. If not specified, the URI
      * specified in target will be used.
      * 
* * string audience = 2; + * * @param value The bytes for audience to set. * @return This builder for chaining. */ - public Builder setAudienceBytes( - com.google.protobuf.ByteString value) { + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + audience_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.OidcToken) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.OidcToken) private static final com.google.cloud.scheduler.v1beta1.OidcToken DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.OidcToken(); } @@ -770,16 +826,16 @@ public static com.google.cloud.scheduler.v1beta1.OidcToken getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OidcToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new OidcToken(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,6 +850,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.OidcToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java index 2177d199..237f944e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/OidcTokenOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; -public interface OidcTokenOrBuilder extends +public interface OidcTokenOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.OidcToken) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -16,10 +34,13 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
    * to be used for generating OIDC token.
@@ -28,30 +49,35 @@ public interface OidcTokenOrBuilder extends
    * 
* * string service_account_email = 1; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The audience. */ java.lang.String getAudience(); /** + * + * *
    * Audience to be used when generating OIDC token. If not specified, the URI
    * specified in target will be used.
    * 
* * string audience = 2; + * * @return The bytes for audience. */ - com.google.protobuf.ByteString - getAudienceBytes(); + com.google.protobuf.ByteString getAudienceBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java index 6fb57240..8632de56 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.PauseJobRequest} */ -public final class PauseJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PauseJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.PauseJobRequest) PauseJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PauseJobRequest.newBuilder() to construct. private PauseJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PauseJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PauseJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PauseJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private PauseJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private PauseJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, + com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.PauseJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.PauseJobRequest other = (com.google.cloud.scheduler.v1beta1.PauseJobRequest) obj; + com.google.cloud.scheduler.v1beta1.PauseJobRequest other = + (com.google.cloud.scheduler.v1beta1.PauseJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.PauseJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.PauseJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.PauseJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.PauseJobRequest) com.google.cloud.scheduler.v1beta1.PauseJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.PauseJobRequest.class, + com.google.cloud.scheduler.v1beta1.PauseJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.PauseJobRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.scheduler.v1beta1.PauseJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.PauseJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.PauseJobRequest result = new com.google.cloud.scheduler.v1beta1.PauseJobRequest(this); + com.google.cloud.scheduler.v1beta1.PauseJobRequest result = + new com.google.cloud.scheduler.v1beta1.PauseJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.scheduler.v1beta1.PauseJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.PauseJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.PauseJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.PauseJobRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.PauseJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.PauseJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.scheduler.v1beta1.PauseJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.scheduler.v1beta1.PauseJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.scheduler.v1beta1.PauseJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.PauseJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.PauseJobRequest) private static final com.google.cloud.scheduler.v1beta1.PauseJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.PauseJobRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.scheduler.v1beta1.PauseJobRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PauseJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PauseJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PauseJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PauseJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.PauseJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java new file mode 100644 index 00000000..b8a7b049 --- /dev/null +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PauseJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface PauseJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.PauseJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java index fb31fdf2..37fa5939 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTarget.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/target.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Pub/Sub target. The job will be delivered by publishing a message to
  * the given Pub/Sub topic.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.PubsubTarget}
  */
-public final class PubsubTarget extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PubsubTarget extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.PubsubTarget)
     PubsubTargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PubsubTarget.newBuilder() to construct.
   private PubsubTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PubsubTarget() {
     topicName_ = "";
     data_ = com.google.protobuf.ByteString.EMPTY;
@@ -27,16 +45,15 @@ private PubsubTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PubsubTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private PubsubTarget(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,37 +73,40 @@ private PubsubTarget(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            topicName_ = s;
-            break;
-          }
-          case 26: {
-
-            data_ = input.readBytes();
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              attributes_ = com.google.protobuf.MapField.newMapField(
-                  AttributesDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              topicName_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            attributes__ = input.readMessage(
-                AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            attributes_.getMutableMap().put(
-                attributes__.getKey(), attributes__.getValue());
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          case 26:
+            {
+              data_ = input.readBytes();
+              break;
+            }
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                attributes_ =
+                    com.google.protobuf.MapField.newMapField(
+                        AttributesDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry attributes__ =
+                  input.readMessage(
+                      AttributesDefaultEntryHolder.defaultEntry.getParserForType(),
+                      extensionRegistry);
+              attributes_.getMutableMap().put(attributes__.getKey(), attributes__.getValue());
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,41 +114,44 @@ private PubsubTarget(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetAttributes();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.TargetProto
+        .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.PubsubTarget.class, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
+            com.google.cloud.scheduler.v1beta1.PubsubTarget.class,
+            com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
   }
 
   public static final int TOPIC_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object topicName_;
   /**
+   *
+   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -139,6 +162,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The topicName. */ @java.lang.Override @@ -147,14 +171,15 @@ public java.lang.String getTopicName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; } } /** + * + * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -165,16 +190,15 @@ public java.lang.String getTopicName() {
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topicName. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicNameBytes() { + public com.google.protobuf.ByteString getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topicName_ = b; return b; } else { @@ -185,6 +209,8 @@ public java.lang.String getTopicName() { public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** + * + * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -192,6 +218,7 @@ public java.lang.String getTopicName() {
    * 
* * bytes data = 3; + * * @return The data. */ @java.lang.Override @@ -200,24 +227,23 @@ public com.google.protobuf.ByteString getData() { } public static final int ATTRIBUTES_FIELD_NUMBER = 4; + private static final class AttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.scheduler.v1beta1.TargetProto + .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; - private com.google.protobuf.MapField - internalGetAttributes() { + + private com.google.protobuf.MapField attributes_; + + private com.google.protobuf.MapField internalGetAttributes() { if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AttributesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } @@ -226,6 +252,8 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** + * + * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -234,22 +262,22 @@ public int getAttributesCount() {
    *
    * map<string, string> attributes = 4;
    */
-
   @java.lang.Override
-  public boolean containsAttributes(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAttributes(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAttributes().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAttributesMap()} instead.
-   */
+  /** Use {@link #getAttributesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAttributes() {
     return getAttributesMap();
   }
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -259,11 +287,12 @@ public java.util.Map getAttributes() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-
   public java.util.Map getAttributesMap() {
     return internalGetAttributes().getMap();
   }
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -273,16 +302,17 @@ public java.util.Map getAttributesMap() {
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-
   public java.lang.String getAttributesOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAttributes().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAttributes().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -292,12 +322,11 @@ public java.lang.String getAttributesOrDefault(
    * map<string, string> attributes = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getAttributesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetAttributes().getMap();
+  public java.lang.String getAttributesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetAttributes().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -305,6 +334,7 @@ public java.lang.String getAttributesOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -316,20 +346,15 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topicName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topicName_);
     }
     if (!data_.isEmpty()) {
       output.writeBytes(3, data_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetAttributes(),
-        AttributesDefaultEntryHolder.defaultEntry,
-        4);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetAttributes(), AttributesDefaultEntryHolder.defaultEntry, 4);
     unknownFields.writeTo(output);
   }
 
@@ -343,18 +368,17 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topicName_);
     }
     if (!data_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(3, data_);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetAttributes().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, attributes__);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, data_);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetAttributes().getMap().entrySet()) {
+      com.google.protobuf.MapEntry attributes__ =
+          AttributesDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, attributes__);
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -364,19 +388,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.scheduler.v1beta1.PubsubTarget)) {
       return super.equals(obj);
     }
-    com.google.cloud.scheduler.v1beta1.PubsubTarget other = (com.google.cloud.scheduler.v1beta1.PubsubTarget) obj;
+    com.google.cloud.scheduler.v1beta1.PubsubTarget other =
+        (com.google.cloud.scheduler.v1beta1.PubsubTarget) obj;
 
-    if (!getTopicName()
-        .equals(other.getTopicName())) return false;
-    if (!getData()
-        .equals(other.getData())) return false;
-    if (!internalGetAttributes().equals(
-        other.internalGetAttributes())) return false;
+    if (!getTopicName().equals(other.getTopicName())) return false;
+    if (!getData().equals(other.getData())) return false;
+    if (!internalGetAttributes().equals(other.internalGetAttributes())) return false;
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
   }
@@ -401,97 +423,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.scheduler.v1beta1.PubsubTarget parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.PubsubTarget prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Pub/Sub target. The job will be delivered by publishing a message to
    * the given Pub/Sub topic.
@@ -499,43 +528,43 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.PubsubTarget}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.PubsubTarget)
       com.google.cloud.scheduler.v1beta1.PubsubTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableAttributes();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.PubsubTarget.class, com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
+              com.google.cloud.scheduler.v1beta1.PubsubTarget.class,
+              com.google.cloud.scheduler.v1beta1.PubsubTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.PubsubTarget.newBuilder()
@@ -543,16 +572,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -565,9 +593,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.TargetProto.internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.TargetProto
+          .internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor;
     }
 
     @java.lang.Override
@@ -586,7 +614,8 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.PubsubTarget buildPartial() {
-      com.google.cloud.scheduler.v1beta1.PubsubTarget result = new com.google.cloud.scheduler.v1beta1.PubsubTarget(this);
+      com.google.cloud.scheduler.v1beta1.PubsubTarget result =
+          new com.google.cloud.scheduler.v1beta1.PubsubTarget(this);
       int from_bitField0_ = bitField0_;
       result.topicName_ = topicName_;
       result.data_ = data_;
@@ -600,38 +629,39 @@ public com.google.cloud.scheduler.v1beta1.PubsubTarget buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.PubsubTarget) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.PubsubTarget) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -639,7 +669,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.PubsubTarget other) {
-      if (other == com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance()) return this;
+      if (other == com.google.cloud.scheduler.v1beta1.PubsubTarget.getDefaultInstance())
+        return this;
       if (!other.getTopicName().isEmpty()) {
         topicName_ = other.topicName_;
         onChanged();
@@ -647,8 +678,7 @@ public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.PubsubTarget other)
       if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
         setData(other.getData());
       }
-      internalGetMutableAttributes().mergeFrom(
-          other.internalGetAttributes());
+      internalGetMutableAttributes().mergeFrom(other.internalGetAttributes());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -677,10 +707,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object topicName_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -691,13 +724,13 @@ public Builder mergeFrom(
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The topicName. */ public java.lang.String getTopicName() { java.lang.Object ref = topicName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topicName_ = s; return s; @@ -706,6 +739,8 @@ public java.lang.String getTopicName() { } } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -716,15 +751,14 @@ public java.lang.String getTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topicName. */ - public com.google.protobuf.ByteString - getTopicNameBytes() { + public com.google.protobuf.ByteString getTopicNameBytes() { java.lang.Object ref = topicName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topicName_ = b; return b; } else { @@ -732,6 +766,8 @@ public java.lang.String getTopicName() { } } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -742,20 +778,22 @@ public java.lang.String getTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The topicName to set. * @return This builder for chaining. */ - public Builder setTopicName( - java.lang.String value) { + public Builder setTopicName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topicName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -766,15 +804,18 @@ public Builder setTopicName(
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTopicName() { - + topicName_ = getDefaultInstance().getTopicName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Cloud Pub/Sub topic to which messages will
      * be published when a job is delivered. The topic name must be in the
@@ -785,16 +826,16 @@ public Builder clearTopicName() {
      * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for topicName to set. * @return This builder for chaining. */ - public Builder setTopicNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topicName_ = value; onChanged(); return this; @@ -802,6 +843,8 @@ public Builder setTopicNameBytes( private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -809,6 +852,7 @@ public Builder setTopicNameBytes(
      * 
* * bytes data = 3; + * * @return The data. */ @java.lang.Override @@ -816,6 +860,8 @@ public com.google.protobuf.ByteString getData() { return data_; } /** + * + * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -823,19 +869,22 @@ public com.google.protobuf.ByteString getData() {
      * 
* * bytes data = 3; + * * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + data_ = value; onChanged(); return this; } /** + * + * *
      * The message payload for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -843,31 +892,34 @@ public Builder setData(com.google.protobuf.ByteString value) {
      * 
* * bytes data = 3; + * * @return This builder for chaining. */ public Builder clearData() { - + data_ = getDefaultInstance().getData(); onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; + private com.google.protobuf.MapField attributes_; + private com.google.protobuf.MapField - internalGetAttributes() { + internalGetAttributes() { if (attributes_ == null) { return com.google.protobuf.MapField.emptyMapField( AttributesDefaultEntryHolder.defaultEntry); } return attributes_; } + private com.google.protobuf.MapField - internalGetMutableAttributes() { - onChanged();; + internalGetMutableAttributes() { + onChanged(); + ; if (attributes_ == null) { - attributes_ = com.google.protobuf.MapField.newMapField( - AttributesDefaultEntryHolder.defaultEntry); + attributes_ = + com.google.protobuf.MapField.newMapField(AttributesDefaultEntryHolder.defaultEntry); } if (!attributes_.isMutable()) { attributes_ = attributes_.copy(); @@ -879,6 +931,8 @@ public int getAttributesCount() { return internalGetAttributes().getMap().size(); } /** + * + * *
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -887,22 +941,22 @@ public int getAttributesCount() {
      *
      * map<string, string> attributes = 4;
      */
-
     @java.lang.Override
-    public boolean containsAttributes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAttributes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAttributes().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAttributesMap()} instead.
-     */
+    /** Use {@link #getAttributesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAttributes() {
       return getAttributesMap();
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -912,11 +966,12 @@ public java.util.Map getAttributes() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-
     public java.util.Map getAttributesMap() {
       return internalGetAttributes().getMap();
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -926,16 +981,17 @@ public java.util.Map getAttributesMap() {
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-
     public java.lang.String getAttributesOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAttributes().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAttributes().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -945,12 +1001,11 @@ public java.lang.String getAttributesOrDefault(
      * map<string, string> attributes = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getAttributesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetAttributes().getMap();
+    public java.lang.String getAttributesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetAttributes().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -958,11 +1013,12 @@ public java.lang.String getAttributesOrThrow(
     }
 
     public Builder clearAttributes() {
-      internalGetMutableAttributes().getMutableMap()
-          .clear();
+      internalGetMutableAttributes().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -971,23 +1027,21 @@ public Builder clearAttributes() {
      *
      * map<string, string> attributes = 4;
      */
-
-    public Builder removeAttributes(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAttributes().getMutableMap()
-          .remove(key);
+    public Builder removeAttributes(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAttributes().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableAttributes() {
+    public java.util.Map getMutableAttributes() {
       return internalGetMutableAttributes().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -996,19 +1050,20 @@ public Builder removeAttributes(
      *
      * map<string, string> attributes = 4;
      */
-    public Builder putAttributes(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putAttributes(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableAttributes().getMutableMap()
-          .put(key, value);
+      internalGetMutableAttributes().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Attributes for PubsubMessage.
      * Pubsub message must contain either non-empty data, or at least one
@@ -1017,16 +1072,13 @@ public Builder putAttributes(
      *
      * map<string, string> attributes = 4;
      */
-
-    public Builder putAllAttributes(
-        java.util.Map values) {
-      internalGetMutableAttributes().getMutableMap()
-          .putAll(values);
+    public Builder putAllAttributes(java.util.Map values) {
+      internalGetMutableAttributes().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1036,12 +1088,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.PubsubTarget)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.PubsubTarget)
   private static final com.google.cloud.scheduler.v1beta1.PubsubTarget DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.PubsubTarget();
   }
@@ -1050,16 +1102,16 @@ public static com.google.cloud.scheduler.v1beta1.PubsubTarget getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PubsubTarget parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new PubsubTarget(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PubsubTarget parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new PubsubTarget(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1074,6 +1126,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.scheduler.v1beta1.PubsubTarget getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
index d0502f29..ff10a72f 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
+++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/PubsubTargetOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/target.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
-public interface PubsubTargetOrBuilder extends
+public interface PubsubTargetOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.PubsubTarget)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -18,10 +36,13 @@ public interface PubsubTargetOrBuilder extends
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The topicName. */ java.lang.String getTopicName(); /** + * + * *
    * Required. The name of the Cloud Pub/Sub topic to which messages will
    * be published when a job is delivered. The topic name must be in the
@@ -32,12 +53,14 @@ public interface PubsubTargetOrBuilder extends
    * 
* * string topic_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topicName. */ - com.google.protobuf.ByteString - getTopicNameBytes(); + com.google.protobuf.ByteString getTopicNameBytes(); /** + * + * *
    * The message payload for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -45,11 +68,14 @@ public interface PubsubTargetOrBuilder extends
    * 
* * bytes data = 3; + * * @return The data. */ com.google.protobuf.ByteString getData(); /** + * + * *
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -60,6 +86,8 @@ public interface PubsubTargetOrBuilder extends
    */
   int getAttributesCount();
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -68,15 +96,13 @@ public interface PubsubTargetOrBuilder extends
    *
    * map<string, string> attributes = 4;
    */
-  boolean containsAttributes(
-      java.lang.String key);
-  /**
-   * Use {@link #getAttributesMap()} instead.
-   */
+  boolean containsAttributes(java.lang.String key);
+  /** Use {@link #getAttributesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAttributes();
+  java.util.Map getAttributes();
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -85,9 +111,10 @@ boolean containsAttributes(
    *
    * map<string, string> attributes = 4;
    */
-  java.util.Map
-  getAttributesMap();
+  java.util.Map getAttributesMap();
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -98,11 +125,13 @@ boolean containsAttributes(
    */
 
   /* nullable */
-java.lang.String getAttributesOrDefault(
+  java.lang.String getAttributesOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Attributes for PubsubMessage.
    * Pubsub message must contain either non-empty data, or at least one
@@ -111,7 +140,5 @@ java.lang.String getAttributesOrDefault(
    *
    * map<string, string> attributes = 4;
    */
-
-  java.lang.String getAttributesOrThrow(
-      java.lang.String key);
+  java.lang.String getAttributesOrThrow(java.lang.String key);
 }
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
similarity index 65%
rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
index ed9cb4fe..71718710 100644
--- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
+++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequest.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto
 
 package com.google.cloud.scheduler.v1beta1;
 
 /**
+ *
+ *
  * 
  * Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ResumeJobRequest} */ -public final class ResumeJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResumeJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.ResumeJobRequest) ResumeJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResumeJobRequest.newBuilder() to construct. private ResumeJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResumeJobRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResumeJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResumeJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private ResumeJobRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private ResumeJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, + com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.ResumeJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.ResumeJobRequest other = (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) obj; + com.google.cloud.scheduler.v1beta1.ResumeJobRequest other = + (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,126 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.ResumeJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.ResumeJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.ResumeJobRequest) com.google.cloud.scheduler.v1beta1.ResumeJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.ResumeJobRequest.class, + com.google.cloud.scheduler.v1beta1.ResumeJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.ResumeJobRequest.newBuilder() @@ -324,16 +360,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +378,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; } @java.lang.Override @@ -364,7 +399,8 @@ public com.google.cloud.scheduler.v1beta1.ResumeJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.ResumeJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.ResumeJobRequest result = new com.google.cloud.scheduler.v1beta1.ResumeJobRequest(this); + com.google.cloud.scheduler.v1beta1.ResumeJobRequest result = + new com.google.cloud.scheduler.v1beta1.ResumeJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +410,39 @@ public com.google.cloud.scheduler.v1beta1.ResumeJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.ResumeJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.ResumeJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.ResumeJobRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +450,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.ResumeJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.ResumeJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.scheduler.v1beta1.ResumeJobRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +475,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.scheduler.v1beta1.ResumeJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +488,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +513,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +538,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +618,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.ResumeJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.ResumeJobRequest) private static final com.google.cloud.scheduler.v1beta1.ResumeJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.ResumeJobRequest(); } @@ -573,16 +632,16 @@ public static com.google.cloud.scheduler.v1beta1.ResumeJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResumeJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResumeJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResumeJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResumeJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +656,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.ResumeJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java new file mode 100644 index 00000000..5a6bd91c --- /dev/null +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ResumeJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface ResumeJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.ResumeJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java similarity index 78% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java index b3b029d1..96374273 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/job.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Settings that determine the retry behavior.
  * By default, if a job does not complete successfully (meaning that
@@ -13,30 +30,29 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.RetryConfig}
  */
-public final class RetryConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RetryConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.RetryConfig)
     RetryConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RetryConfig.newBuilder() to construct.
   private RetryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RetryConfig() {
-  }
+
+  private RetryConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RetryConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RetryConfig(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,62 +71,68 @@ private RetryConfig(
           case 0:
             done = true;
             break;
-          case 8: {
-
-            retryCount_ = input.readInt32();
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxRetryDuration_ != null) {
-              subBuilder = maxRetryDuration_.toBuilder();
+          case 8:
+            {
+              retryCount_ = input.readInt32();
+              break;
             }
-            maxRetryDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxRetryDuration_);
-              maxRetryDuration_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxRetryDuration_ != null) {
+                subBuilder = maxRetryDuration_.toBuilder();
+              }
+              maxRetryDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxRetryDuration_);
+                maxRetryDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (minBackoffDuration_ != null) {
-              subBuilder = minBackoffDuration_.toBuilder();
+          case 26:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (minBackoffDuration_ != null) {
+                subBuilder = minBackoffDuration_.toBuilder();
+              }
+              minBackoffDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(minBackoffDuration_);
+                minBackoffDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            minBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(minBackoffDuration_);
-              minBackoffDuration_ = subBuilder.buildPartial();
+          case 34:
+            {
+              com.google.protobuf.Duration.Builder subBuilder = null;
+              if (maxBackoffDuration_ != null) {
+                subBuilder = maxBackoffDuration_.toBuilder();
+              }
+              maxBackoffDuration_ =
+                  input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(maxBackoffDuration_);
+                maxBackoffDuration_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 34: {
-            com.google.protobuf.Duration.Builder subBuilder = null;
-            if (maxBackoffDuration_ != null) {
-              subBuilder = maxBackoffDuration_.toBuilder();
+          case 40:
+            {
+              maxDoublings_ = input.readInt32();
+              break;
             }
-            maxBackoffDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(maxBackoffDuration_);
-              maxBackoffDuration_ = subBuilder.buildPartial();
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-
-            break;
-          }
-          case 40: {
-
-            maxDoublings_ = input.readInt32();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
-            }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -118,29 +140,33 @@ private RetryConfig(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.JobProto
+        .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.JobProto
+        .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.RetryConfig.class, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
+            com.google.cloud.scheduler.v1beta1.RetryConfig.class,
+            com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
   }
 
   public static final int RETRY_COUNT_FIELD_NUMBER = 1;
   private int retryCount_;
   /**
+   *
+   *
    * 
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -157,6 +183,7 @@ private RetryConfig(
    * 
* * int32 retry_count = 1; + * * @return The retryCount. */ @java.lang.Override @@ -167,6 +194,8 @@ public int getRetryCount() { public static final int MAX_RETRY_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration maxRetryDuration_; /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -177,6 +206,7 @@ public int getRetryCount() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ @java.lang.Override @@ -184,6 +214,8 @@ public boolean hasMaxRetryDuration() { return maxRetryDuration_ != null; } /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -194,13 +226,18 @@ public boolean hasMaxRetryDuration() {
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxRetryDuration() { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -220,6 +257,8 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
   public static final int MIN_BACKOFF_DURATION_FIELD_NUMBER = 3;
   private com.google.protobuf.Duration minBackoffDuration_;
   /**
+   *
+   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -227,6 +266,7 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return Whether the minBackoffDuration field is set. */ @java.lang.Override @@ -234,6 +274,8 @@ public boolean hasMinBackoffDuration() { return minBackoffDuration_ != null; } /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -241,13 +283,18 @@ public boolean hasMinBackoffDuration() {
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return The minBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMinBackoffDuration() { - return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; + return minBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoffDuration_; } /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -264,6 +311,8 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
   public static final int MAX_BACKOFF_DURATION_FIELD_NUMBER = 4;
   private com.google.protobuf.Duration maxBackoffDuration_;
   /**
+   *
+   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -271,6 +320,7 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return Whether the maxBackoffDuration field is set. */ @java.lang.Override @@ -278,6 +328,8 @@ public boolean hasMaxBackoffDuration() { return maxBackoffDuration_ != null; } /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -285,13 +337,18 @@ public boolean hasMaxBackoffDuration() {
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return The maxBackoffDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxBackoffDuration() { - return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; + return maxBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoffDuration_; } /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -308,6 +365,8 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
   public static final int MAX_DOUBLINGS_FIELD_NUMBER = 5;
   private int maxDoublings_;
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -328,6 +387,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -336,6 +396,7 @@ public int getMaxDoublings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +408,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (retryCount_ != 0) { output.writeInt32(1, retryCount_); } @@ -374,24 +434,19 @@ public int getSerializedSize() { size = 0; if (retryCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, retryCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, retryCount_); } if (maxRetryDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getMaxRetryDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaxRetryDuration()); } if (minBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMinBackoffDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMinBackoffDuration()); } if (maxBackoffDuration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaxBackoffDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaxBackoffDuration()); } if (maxDoublings_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, maxDoublings_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxDoublings_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -401,32 +456,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.RetryConfig)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.RetryConfig other = (com.google.cloud.scheduler.v1beta1.RetryConfig) obj; + com.google.cloud.scheduler.v1beta1.RetryConfig other = + (com.google.cloud.scheduler.v1beta1.RetryConfig) obj; - if (getRetryCount() - != other.getRetryCount()) return false; + if (getRetryCount() != other.getRetryCount()) return false; if (hasMaxRetryDuration() != other.hasMaxRetryDuration()) return false; if (hasMaxRetryDuration()) { - if (!getMaxRetryDuration() - .equals(other.getMaxRetryDuration())) return false; + if (!getMaxRetryDuration().equals(other.getMaxRetryDuration())) return false; } if (hasMinBackoffDuration() != other.hasMinBackoffDuration()) return false; if (hasMinBackoffDuration()) { - if (!getMinBackoffDuration() - .equals(other.getMinBackoffDuration())) return false; + if (!getMinBackoffDuration().equals(other.getMinBackoffDuration())) return false; } if (hasMaxBackoffDuration() != other.hasMaxBackoffDuration()) return false; if (hasMaxBackoffDuration()) { - if (!getMaxBackoffDuration() - .equals(other.getMaxBackoffDuration())) return false; + if (!getMaxBackoffDuration().equals(other.getMaxBackoffDuration())) return false; } - if (getMaxDoublings() - != other.getMaxDoublings()) return false; + if (getMaxDoublings() != other.getMaxDoublings()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -459,97 +510,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RetryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.RetryConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.RetryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Settings that determine the retry behavior.
    * By default, if a job does not complete successfully (meaning that
@@ -559,21 +617,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.RetryConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.RetryConfig)
       com.google.cloud.scheduler.v1beta1.RetryConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.JobProto
+          .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.JobProto
+          .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.RetryConfig.class, com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
+              com.google.cloud.scheduler.v1beta1.RetryConfig.class,
+              com.google.cloud.scheduler.v1beta1.RetryConfig.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.RetryConfig.newBuilder()
@@ -581,16 +641,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -620,9 +679,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.JobProto.internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.JobProto
+          .internal_static_google_cloud_scheduler_v1beta1_RetryConfig_descriptor;
     }
 
     @java.lang.Override
@@ -641,7 +700,8 @@ public com.google.cloud.scheduler.v1beta1.RetryConfig build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.RetryConfig buildPartial() {
-      com.google.cloud.scheduler.v1beta1.RetryConfig result = new com.google.cloud.scheduler.v1beta1.RetryConfig(this);
+      com.google.cloud.scheduler.v1beta1.RetryConfig result =
+          new com.google.cloud.scheduler.v1beta1.RetryConfig(this);
       result.retryCount_ = retryCount_;
       if (maxRetryDurationBuilder_ == null) {
         result.maxRetryDuration_ = maxRetryDuration_;
@@ -667,38 +727,39 @@ public com.google.cloud.scheduler.v1beta1.RetryConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.RetryConfig) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.RetryConfig)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.RetryConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -751,8 +812,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int retryCount_ ;
+    private int retryCount_;
     /**
+     *
+     *
      * 
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -769,6 +832,7 @@ public Builder mergeFrom(
      * 
* * int32 retry_count = 1; + * * @return The retryCount. */ @java.lang.Override @@ -776,6 +840,8 @@ public int getRetryCount() { return retryCount_; } /** + * + * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -792,16 +858,19 @@ public int getRetryCount() {
      * 
* * int32 retry_count = 1; + * * @param value The retryCount to set. * @return This builder for chaining. */ public Builder setRetryCount(int value) { - + retryCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of attempts that the system will make to run a job using the
      * exponential backoff procedure described by
@@ -818,10 +887,11 @@ public Builder setRetryCount(int value) {
      * 
* * int32 retry_count = 1; + * * @return This builder for chaining. */ public Builder clearRetryCount() { - + retryCount_ = 0; onChanged(); return this; @@ -829,8 +899,13 @@ public Builder clearRetryCount() { private com.google.protobuf.Duration maxRetryDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxRetryDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + maxRetryDurationBuilder_; /** + * + * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -841,12 +916,15 @@ public Builder clearRetryCount() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ public boolean hasMaxRetryDuration() { return maxRetryDurationBuilder_ != null || maxRetryDuration_ != null; } /** + * + * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -857,16 +935,21 @@ public boolean hasMaxRetryDuration() {
      * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ public com.google.protobuf.Duration getMaxRetryDuration() { if (maxRetryDurationBuilder_ == null) { - return maxRetryDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_; + return maxRetryDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxRetryDuration_; } else { return maxRetryDurationBuilder_.getMessage(); } } /** + * + * *
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -892,6 +975,8 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -903,8 +988,7 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_retry_duration = 2;
      */
-    public Builder setMaxRetryDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxRetryDurationBuilder_ == null) {
         maxRetryDuration_ = builderForValue.build();
         onChanged();
@@ -915,6 +999,8 @@ public Builder setMaxRetryDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -930,7 +1016,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       if (maxRetryDurationBuilder_ == null) {
         if (maxRetryDuration_ != null) {
           maxRetryDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxRetryDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxRetryDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxRetryDuration_ = value;
         }
@@ -942,6 +1030,8 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -965,6 +1055,8 @@ public Builder clearMaxRetryDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -977,11 +1069,13 @@ public Builder clearMaxRetryDuration() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
-      
+
       onChanged();
       return getMaxRetryDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -997,11 +1091,14 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
       if (maxRetryDurationBuilder_ != null) {
         return maxRetryDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxRetryDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxRetryDuration_;
+        return maxRetryDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxRetryDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The time limit for retrying a failed job, measured from time when an
      * execution was first attempted. If specified with
@@ -1014,14 +1111,17 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * .google.protobuf.Duration max_retry_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxRetryDurationFieldBuilder() {
       if (maxRetryDurationBuilder_ == null) {
-        maxRetryDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxRetryDuration(),
-                getParentForChildren(),
-                isClean());
+        maxRetryDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxRetryDuration(), getParentForChildren(), isClean());
         maxRetryDuration_ = null;
       }
       return maxRetryDurationBuilder_;
@@ -1029,8 +1129,13 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
 
     private com.google.protobuf.Duration minBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> minBackoffDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        minBackoffDurationBuilder_;
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1038,12 +1143,15 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return Whether the minBackoffDuration field is set. */ public boolean hasMinBackoffDuration() { return minBackoffDurationBuilder_ != null || minBackoffDuration_ != null; } /** + * + * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1051,16 +1159,21 @@ public boolean hasMinBackoffDuration() {
      * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return The minBackoffDuration. */ public com.google.protobuf.Duration getMinBackoffDuration() { if (minBackoffDurationBuilder_ == null) { - return minBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_; + return minBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : minBackoffDuration_; } else { return minBackoffDurationBuilder_.getMessage(); } } /** + * + * *
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1083,6 +1196,8 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1091,8 +1206,7 @@ public Builder setMinBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
-    public Builder setMinBackoffDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMinBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (minBackoffDurationBuilder_ == null) {
         minBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1103,6 +1217,8 @@ public Builder setMinBackoffDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1115,7 +1231,9 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       if (minBackoffDurationBuilder_ == null) {
         if (minBackoffDuration_ != null) {
           minBackoffDuration_ =
-            com.google.protobuf.Duration.newBuilder(minBackoffDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(minBackoffDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           minBackoffDuration_ = value;
         }
@@ -1127,6 +1245,8 @@ public Builder mergeMinBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1147,6 +1267,8 @@ public Builder clearMinBackoffDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1156,11 +1278,13 @@ public Builder clearMinBackoffDuration() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     public com.google.protobuf.Duration.Builder getMinBackoffDurationBuilder() {
-      
+
       onChanged();
       return getMinBackoffDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1173,11 +1297,14 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
       if (minBackoffDurationBuilder_ != null) {
         return minBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return minBackoffDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : minBackoffDuration_;
+        return minBackoffDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : minBackoffDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The minimum amount of time to wait before retrying a job after
      * it fails.
@@ -1187,14 +1314,17 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * .google.protobuf.Duration min_backoff_duration = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMinBackoffDurationFieldBuilder() {
       if (minBackoffDurationBuilder_ == null) {
-        minBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMinBackoffDuration(),
-                getParentForChildren(),
-                isClean());
+        minBackoffDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMinBackoffDuration(), getParentForChildren(), isClean());
         minBackoffDuration_ = null;
       }
       return minBackoffDurationBuilder_;
@@ -1202,8 +1332,13 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
 
     private com.google.protobuf.Duration maxBackoffDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxBackoffDurationBuilder_;
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
+        maxBackoffDurationBuilder_;
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1211,12 +1346,15 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return Whether the maxBackoffDuration field is set. */ public boolean hasMaxBackoffDuration() { return maxBackoffDurationBuilder_ != null || maxBackoffDuration_ != null; } /** + * + * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1224,16 +1362,21 @@ public boolean hasMaxBackoffDuration() {
      * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return The maxBackoffDuration. */ public com.google.protobuf.Duration getMaxBackoffDuration() { if (maxBackoffDurationBuilder_ == null) { - return maxBackoffDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_; + return maxBackoffDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : maxBackoffDuration_; } else { return maxBackoffDurationBuilder_.getMessage(); } } /** + * + * *
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1256,6 +1399,8 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1264,8 +1409,7 @@ public Builder setMaxBackoffDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
-    public Builder setMaxBackoffDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxBackoffDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (maxBackoffDurationBuilder_ == null) {
         maxBackoffDuration_ = builderForValue.build();
         onChanged();
@@ -1276,6 +1420,8 @@ public Builder setMaxBackoffDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1288,7 +1434,9 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       if (maxBackoffDurationBuilder_ == null) {
         if (maxBackoffDuration_ != null) {
           maxBackoffDuration_ =
-            com.google.protobuf.Duration.newBuilder(maxBackoffDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(maxBackoffDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxBackoffDuration_ = value;
         }
@@ -1300,6 +1448,8 @@ public Builder mergeMaxBackoffDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1320,6 +1470,8 @@ public Builder clearMaxBackoffDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1329,11 +1481,13 @@ public Builder clearMaxBackoffDuration() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     public com.google.protobuf.Duration.Builder getMaxBackoffDurationBuilder() {
-      
+
       onChanged();
       return getMaxBackoffDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1346,11 +1500,14 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
       if (maxBackoffDurationBuilder_ != null) {
         return maxBackoffDurationBuilder_.getMessageOrBuilder();
       } else {
-        return maxBackoffDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : maxBackoffDuration_;
+        return maxBackoffDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : maxBackoffDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * The maximum amount of time to wait before retrying a job after
      * it fails.
@@ -1360,21 +1517,26 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * .google.protobuf.Duration max_backoff_duration = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getMaxBackoffDurationFieldBuilder() {
       if (maxBackoffDurationBuilder_ == null) {
-        maxBackoffDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getMaxBackoffDuration(),
-                getParentForChildren(),
-                isClean());
+        maxBackoffDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getMaxBackoffDuration(), getParentForChildren(), isClean());
         maxBackoffDuration_ = null;
       }
       return maxBackoffDurationBuilder_;
     }
 
-    private int maxDoublings_ ;
+    private int maxDoublings_;
     /**
+     *
+     *
      * 
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1395,6 +1557,7 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder() {
      * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ @java.lang.Override @@ -1402,6 +1565,8 @@ public int getMaxDoublings() { return maxDoublings_; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1422,16 +1587,19 @@ public int getMaxDoublings() {
      * 
* * int32 max_doublings = 5; + * * @param value The maxDoublings to set. * @return This builder for chaining. */ public Builder setMaxDoublings(int value) { - + maxDoublings_ = value; onChanged(); return this; } /** + * + * *
      * The time between retries will double `max_doublings` times.
      * A job's retry interval starts at
@@ -1452,17 +1620,18 @@ public Builder setMaxDoublings(int value) {
      * 
* * int32 max_doublings = 5; + * * @return This builder for chaining. */ public Builder clearMaxDoublings() { - + maxDoublings_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1472,12 +1641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.RetryConfig) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.RetryConfig) private static final com.google.cloud.scheduler.v1beta1.RetryConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.RetryConfig(); } @@ -1486,16 +1655,16 @@ public static com.google.cloud.scheduler.v1beta1.RetryConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RetryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RetryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RetryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RetryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1510,6 +1679,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.RetryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java similarity index 88% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java index 331a7d61..7aa8a7a5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RetryConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/job.proto package com.google.cloud.scheduler.v1beta1; -public interface RetryConfigOrBuilder extends +public interface RetryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.RetryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of attempts that the system will make to run a job using the
    * exponential backoff procedure described by
@@ -24,11 +42,14 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 retry_count = 1; + * * @return The retryCount. */ int getRetryCount(); /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -39,10 +60,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return Whether the maxRetryDuration field is set. */ boolean hasMaxRetryDuration(); /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -53,10 +77,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_retry_duration = 2; + * * @return The maxRetryDuration. */ com.google.protobuf.Duration getMaxRetryDuration(); /** + * + * *
    * The time limit for retrying a failed job, measured from time when an
    * execution was first attempted. If specified with
@@ -71,6 +98,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -78,10 +107,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return Whether the minBackoffDuration field is set. */ boolean hasMinBackoffDuration(); /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -89,10 +121,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration min_backoff_duration = 3; + * * @return The minBackoffDuration. */ com.google.protobuf.Duration getMinBackoffDuration(); /** + * + * *
    * The minimum amount of time to wait before retrying a job after
    * it fails.
@@ -104,6 +139,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMinBackoffDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -111,10 +148,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return Whether the maxBackoffDuration field is set. */ boolean hasMaxBackoffDuration(); /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -122,10 +162,13 @@ public interface RetryConfigOrBuilder extends
    * 
* * .google.protobuf.Duration max_backoff_duration = 4; + * * @return The maxBackoffDuration. */ com.google.protobuf.Duration getMaxBackoffDuration(); /** + * + * *
    * The maximum amount of time to wait before retrying a job after
    * it fails.
@@ -137,6 +180,8 @@ public interface RetryConfigOrBuilder extends
   com.google.protobuf.DurationOrBuilder getMaxBackoffDurationOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time between retries will double `max_doublings` times.
    * A job's retry interval starts at
@@ -157,6 +202,7 @@ public interface RetryConfigOrBuilder extends
    * 
* * int32 max_doublings = 5; + * * @return The maxDoublings. */ int getMaxDoublings(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java index 4a97aa54..dfc3b8c2 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Request message for forcing a job to run now using
  * [RunJob][google.cloud.scheduler.v1beta1.CloudScheduler.RunJob].
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.cloud.scheduler.v1beta1.RunJobRequest}
  */
-public final class RunJobRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RunJobRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.RunJobRequest)
     RunJobRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunJobRequest.newBuilder() to construct.
   private RunJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunJobRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunJobRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private RunJobRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private RunJobRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,42 @@ private RunJobRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
+    return com.google.cloud.scheduler.v1beta1.SchedulerProto
+        .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.scheduler.v1beta1.RunJobRequest.class, com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
+            com.google.cloud.scheduler.v1beta1.RunJobRequest.class,
+            com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,30 +136,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The job name. For example:
    * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -179,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.RunJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.RunJobRequest other = (com.google.cloud.scheduler.v1beta1.RunJobRequest) obj; + com.google.cloud.scheduler.v1beta1.RunJobRequest other = + (com.google.cloud.scheduler.v1beta1.RunJobRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,97 +233,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.RunJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.RunJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for forcing a job to run now using
    * [RunJob][google.cloud.scheduler.v1beta1.CloudScheduler.RunJob].
@@ -304,21 +338,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.scheduler.v1beta1.RunJobRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.RunJobRequest)
       com.google.cloud.scheduler.v1beta1.RunJobRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.scheduler.v1beta1.RunJobRequest.class, com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
+              com.google.cloud.scheduler.v1beta1.RunJobRequest.class,
+              com.google.cloud.scheduler.v1beta1.RunJobRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.scheduler.v1beta1.RunJobRequest.newBuilder()
@@ -326,16 +362,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.scheduler.v1beta1.SchedulerProto
+          .internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +401,8 @@ public com.google.cloud.scheduler.v1beta1.RunJobRequest build() {
 
     @java.lang.Override
     public com.google.cloud.scheduler.v1beta1.RunJobRequest buildPartial() {
-      com.google.cloud.scheduler.v1beta1.RunJobRequest result = new com.google.cloud.scheduler.v1beta1.RunJobRequest(this);
+      com.google.cloud.scheduler.v1beta1.RunJobRequest result =
+          new com.google.cloud.scheduler.v1beta1.RunJobRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -376,38 +412,39 @@ public com.google.cloud.scheduler.v1beta1.RunJobRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.scheduler.v1beta1.RunJobRequest) {
-        return mergeFrom((com.google.cloud.scheduler.v1beta1.RunJobRequest)other);
+        return mergeFrom((com.google.cloud.scheduler.v1beta1.RunJobRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +452,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.RunJobRequest other) {
-      if (other == com.google.cloud.scheduler.v1beta1.RunJobRequest.getDefaultInstance()) return this;
+      if (other == com.google.cloud.scheduler.v1beta1.RunJobRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -451,19 +489,23 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -472,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -494,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The job name. For example:
      * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.RunJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.RunJobRequest) private static final com.google.cloud.scheduler.v1beta1.RunJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.RunJobRequest(); } @@ -575,16 +633,16 @@ public static com.google.cloud.scheduler.v1beta1.RunJobRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RunJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RunJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RunJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RunJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.RunJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java new file mode 100644 index 00000000..2a0b110d --- /dev/null +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/RunJobRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public interface RunJobRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.RunJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The job name. For example:
+   * `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java new file mode 100644 index 00000000..5dfadd05 --- /dev/null +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/SchedulerProto.java @@ -0,0 +1,249 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/cloudscheduler.proto + +package com.google.cloud.scheduler.v1beta1; + +public final class SchedulerProto { + private SchedulerProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/scheduler/v1beta1/cloudsc" + + "heduler.proto\022\036google.cloud.scheduler.v1" + + "beta1\032\034google/api/annotations.proto\032\027goo" + + "gle/api/client.proto\032\037google/api/field_b" + + "ehavior.proto\032\031google/api/resource.proto" + + "\032(google/cloud/scheduler/v1beta1/job.pro" + + "to\032\033google/protobuf/empty.proto\032 google/" + + "protobuf/field_mask.proto\"s\n\017ListJobsReq" + + "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!cloudsched" + + "uler.googleapis.com/Job\022\021\n\tpage_size\030\005 \001" + + "(\005\022\022\n\npage_token\030\006 \001(\t\"^\n\020ListJobsRespon" + + "se\0221\n\004jobs\030\001 \003(\0132#.google.cloud.schedule" + + "r.v1beta1.Job\022\027\n\017next_page_token\030\002 \001(\t\"H" + + "\n\rGetJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!c" + + "loudscheduler.googleapis.com/Job\"\204\001\n\020Cre" + + "ateJobRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\022!c" + + "loudscheduler.googleapis.com/Job\0225\n\003job\030" + + "\002 \001(\0132#.google.cloud.scheduler.v1beta1.J" + + "obB\003\340A\002\"z\n\020UpdateJobRequest\0225\n\003job\030\001 \001(\013" + + "2#.google.cloud.scheduler.v1beta1.JobB\003\340" + + "A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMask\"K\n\020DeleteJobRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!cloudscheduler.googleapis" + + ".com/Job\"J\n\017PauseJobRequest\0227\n\004name\030\001 \001(" + + "\tB)\340A\002\372A#\n!cloudscheduler.googleapis.com" + + "/Job\"K\n\020ResumeJobRequest\0227\n\004name\030\001 \001(\tB)" + + "\340A\002\372A#\n!cloudscheduler.googleapis.com/Jo" + + "b\"H\n\rRunJobRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + + "\n!cloudscheduler.googleapis.com/Job2\246\013\n\016" + + "CloudScheduler\022\255\001\n\010ListJobs\022/.google.clo" + + "ud.scheduler.v1beta1.ListJobsRequest\0320.g" + + "oogle.cloud.scheduler.v1beta1.ListJobsRe" + + "sponse\">\202\323\344\223\002/\022-/v1beta1/{parent=project" + + "s/*/locations/*}/jobs\332A\006parent\022\232\001\n\006GetJo" + + "b\022-.google.cloud.scheduler.v1beta1.GetJo" + + "bRequest\032#.google.cloud.scheduler.v1beta" + + "1.Job\"<\202\323\344\223\002/\022-/v1beta1/{name=projects/*" + + "/locations/*/jobs/*}\332A\004name\022\253\001\n\tCreateJo" + + "b\0220.google.cloud.scheduler.v1beta1.Creat" + + "eJobRequest\032#.google.cloud.scheduler.v1b" + + "eta1.Job\"G\202\323\344\223\0024\"-/v1beta1/{parent=proje" + + "cts/*/locations/*}/jobs:\003job\332A\nparent,jo" + + "b\022\264\001\n\tUpdateJob\0220.google.cloud.scheduler" + + ".v1beta1.UpdateJobRequest\032#.google.cloud" + + ".scheduler.v1beta1.Job\"P\202\323\344\223\002821/v1beta1" + + "/{job.name=projects/*/locations/*/jobs/*" + + "}:\003job\332A\017job,update_mask\022\223\001\n\tDeleteJob\0220" + + ".google.cloud.scheduler.v1beta1.DeleteJo" + + "bRequest\032\026.google.protobuf.Empty\"<\202\323\344\223\002/" + + "*-/v1beta1/{name=projects/*/locations/*/" + + "jobs/*}\332A\004name\022\247\001\n\010PauseJob\022/.google.clo" + + "ud.scheduler.v1beta1.PauseJobRequest\032#.g" + + "oogle.cloud.scheduler.v1beta1.Job\"E\202\323\344\223\002" + + "8\"3/v1beta1/{name=projects/*/locations/*" + + "/jobs/*}:pause:\001*\332A\004name\022\252\001\n\tResumeJob\0220" + + ".google.cloud.scheduler.v1beta1.ResumeJo" + + "bRequest\032#.google.cloud.scheduler.v1beta" + + "1.Job\"F\202\323\344\223\0029\"4/v1beta1/{name=projects/*" + + "/locations/*/jobs/*}:resume:\001*\332A\004name\022\241\001" + + "\n\006RunJob\022-.google.cloud.scheduler.v1beta" + + "1.RunJobRequest\032#.google.cloud.scheduler" + + ".v1beta1.Job\"C\202\323\344\223\0026\"1/v1beta1/{name=pro" + + "jects/*/locations/*/jobs/*}:run:\001*\332A\004nam" + + "e\032Q\312A\035cloudscheduler.googleapis.com\322A.ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "formB\213\001\n\"com.google.cloud.scheduler.v1be" + + "ta1B\016SchedulerProtoP\001ZGgoogle.golang.org" + + "/genproto/googleapis/cloud/scheduler/v1b" + + "eta1;scheduler\242\002\tSCHEDULERb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_ListJobsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_ListJobsResponse_descriptor, + new java.lang.String[] { + "Jobs", "NextPageToken", + }); + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_GetJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_CreateJobRequest_descriptor, + new java.lang.String[] { + "Parent", "Job", + }); + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor, + new java.lang.String[] { + "Job", "UpdateMask", + }); + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_DeleteJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_PauseJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_ResumeJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_RunJobRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.scheduler.v1beta1.JobProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java new file mode 100644 index 00000000..1118344d --- /dev/null +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/TargetProto.java @@ -0,0 +1,218 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/scheduler/v1beta1/target.proto + +package com.google.cloud.scheduler.v1beta1; + +public final class TargetProto { + private TargetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n+google/cloud/scheduler/v1beta1/target." + + "proto\022\036google.cloud.scheduler.v1beta1\032\031g" + + "oogle/api/resource.proto\032\034google/api/ann" + + "otations.proto\"\376\002\n\nHttpTarget\022\013\n\003uri\030\001 \001" + + "(\t\022?\n\013http_method\030\002 \001(\0162*.google.cloud.s" + + "cheduler.v1beta1.HttpMethod\022H\n\007headers\030\003" + + " \003(\01327.google.cloud.scheduler.v1beta1.Ht" + + "tpTarget.HeadersEntry\022\014\n\004body\030\004 \001(\014\022A\n\013o" + + "auth_token\030\005 \001(\0132*.google.cloud.schedule" + + "r.v1beta1.OAuthTokenH\000\022?\n\noidc_token\030\006 \001" + + "(\0132).google.cloud.scheduler.v1beta1.Oidc" + + "TokenH\000\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001B\026\n\024authorization_header\"" + + "\313\002\n\023AppEngineHttpTarget\022?\n\013http_method\030\001" + + " \001(\0162*.google.cloud.scheduler.v1beta1.Ht" + + "tpMethod\022L\n\022app_engine_routing\030\002 \001(\01320.g" + + "oogle.cloud.scheduler.v1beta1.AppEngineR" + + "outing\022\024\n\014relative_uri\030\003 \001(\t\022Q\n\007headers\030" + + "\004 \003(\0132@.google.cloud.scheduler.v1beta1.A" + + "ppEngineHttpTarget.HeadersEntry\022\014\n\004body\030" + + "\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"\327\001\n\014PubsubTarget\0224\n\ntopic_" + + "name\030\001 \001(\tB \372A\035\n\033pubsub.googleapis.com/T" + + "opic\022\014\n\004data\030\003 \001(\014\022P\n\nattributes\030\004 \003(\0132<" + + ".google.cloud.scheduler.v1beta1.PubsubTa" + + "rget.AttributesEntry\0321\n\017AttributesEntry\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" + + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" + + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n" + + "\nOAuthToken\022\035\n\025service_account_email\030\001 \001" + + "(\t\022\r\n\005scope\030\002 \001(\t\"<\n\tOidcToken\022\035\n\025servic" + + "e_account_email\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*" + + "s\n\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED" + + "\020\000\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004" + + "\022\n\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007B\277\001\n" + + "\"com.google.cloud.scheduler.v1beta1B\013Tar" + + "getProtoP\001ZGgoogle.golang.org/genproto/g" + + "oogleapis/cloud/scheduler/v1beta1;schedu" + + "ler\352A@\n\033pubsub.googleapis.com/Topic\022!pro" + + "jects/{project}/topics/{topic}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor, + new java.lang.String[] { + "Uri", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", + }); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_HttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor, + new java.lang.String[] { + "HttpMethod", "AppEngineRouting", "RelativeUri", "Headers", "Body", + }); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor = + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_AppEngineHttpTarget_HeadersEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor, + new java.lang.String[] { + "TopicName", "Data", "Attributes", + }); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor = + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_PubsubTarget_AttributesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_AppEngineRouting_descriptor, + new java.lang.String[] { + "Service", "Version", "Instance", "Host", + }); + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_scheduler_v1beta1_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_scheduler_v1beta1_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java index 23b1554a..c1aafd5f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; /** + * + * *
  * Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
  * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.UpdateJobRequest} */ -public final class UpdateJobRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateJobRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.scheduler.v1beta1.UpdateJobRequest) UpdateJobRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateJobRequest.newBuilder() to construct. private UpdateJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateJobRequest() { - } + + private UpdateJobRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateJobRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateJobRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateJobRequest( case 0: done = true; break; - case 10: { - com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; - if (job_ != null) { - subBuilder = job_.toBuilder(); - } - job_ = input.readMessage(com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(job_); - job_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.scheduler.v1beta1.Job.Builder subBuilder = null; + if (job_ != null) { + subBuilder = job_.toBuilder(); + } + job_ = + input.readMessage( + com.google.cloud.scheduler.v1beta1.Job.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(job_); + job_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,36 +113,42 @@ private UpdateJobRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, + com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.scheduler.v1beta1.Job job_; /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ @java.lang.Override @@ -129,13 +156,17 @@ public boolean hasJob() { return job_ != null; } /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ @java.lang.Override @@ -143,13 +174,16 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { @@ -159,11 +193,14 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -171,11 +208,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -183,6 +223,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (job_ != null) { output.writeMessage(1, getJob()); } @@ -224,12 +266,10 @@ public int getSerializedSize() { size = 0; if (job_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getJob()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getJob()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +279,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.scheduler.v1beta1.UpdateJobRequest)) { return super.equals(obj); } - com.google.cloud.scheduler.v1beta1.UpdateJobRequest other = (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) obj; + com.google.cloud.scheduler.v1beta1.UpdateJobRequest other = + (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) obj; if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob() - .equals(other.getJob())) return false; + if (!getJob().equals(other.getJob())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +320,126 @@ public int hashCode() { } public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.scheduler.v1beta1.UpdateJobRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
    * 
* * Protobuf type {@code google.cloud.scheduler.v1beta1.UpdateJobRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.scheduler.v1beta1.UpdateJobRequest) com.google.cloud.scheduler.v1beta1.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); + com.google.cloud.scheduler.v1beta1.UpdateJobRequest.class, + com.google.cloud.scheduler.v1beta1.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.scheduler.v1beta1.UpdateJobRequest.newBuilder() @@ -399,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.scheduler.v1beta1.SchedulerProto.internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.scheduler.v1beta1.SchedulerProto + .internal_static_google_cloud_scheduler_v1beta1_UpdateJobRequest_descriptor; } @java.lang.Override @@ -449,7 +496,8 @@ public com.google.cloud.scheduler.v1beta1.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.scheduler.v1beta1.UpdateJobRequest buildPartial() { - com.google.cloud.scheduler.v1beta1.UpdateJobRequest result = new com.google.cloud.scheduler.v1beta1.UpdateJobRequest(this); + com.google.cloud.scheduler.v1beta1.UpdateJobRequest result = + new com.google.cloud.scheduler.v1beta1.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -468,38 +516,39 @@ public com.google.cloud.scheduler.v1beta1.UpdateJobRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.scheduler.v1beta1.UpdateJobRequest) { - return mergeFrom((com.google.cloud.scheduler.v1beta1.UpdateJobRequest)other); + return mergeFrom((com.google.cloud.scheduler.v1beta1.UpdateJobRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +556,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.scheduler.v1beta1.UpdateJobRequest other) { - if (other == com.google.cloud.scheduler.v1beta1.UpdateJobRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.scheduler.v1beta1.UpdateJobRequest.getDefaultInstance()) + return this; if (other.hasJob()) { mergeJob(other.getJob()); } @@ -533,7 +583,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.scheduler.v1beta1.UpdateJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,28 +596,39 @@ public Builder mergeFrom( private com.google.cloud.scheduler.v1beta1.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> jobBuilder_; + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder> + jobBuilder_; /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ public boolean hasJob() { return jobBuilder_ != null || job_ != null; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ public com.google.cloud.scheduler.v1beta1.Job getJob() { @@ -577,13 +639,16 @@ public com.google.cloud.scheduler.v1beta1.Job getJob() { } } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { @@ -599,16 +664,18 @@ public Builder setJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setJob( - com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { + public Builder setJob(com.google.cloud.scheduler.v1beta1.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -619,19 +686,24 @@ public Builder setJob( return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { if (jobBuilder_ == null) { if (job_ != null) { job_ = - com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + com.google.cloud.scheduler.v1beta1.Job.newBuilder(job_) + .mergeFrom(value) + .buildPartial(); } else { job_ = value; } @@ -643,13 +715,16 @@ public Builder mergeJob(com.google.cloud.scheduler.v1beta1.Job value) { return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearJob() { if (jobBuilder_ == null) { @@ -663,54 +738,65 @@ public Builder clearJob() { return this; } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1beta1.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? - com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; + return job_ == null ? com.google.cloud.scheduler.v1beta1.Job.getDefaultInstance() : job_; } } /** + * + * *
      * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
      * Output only fields cannot be modified using UpdateJob.
      * Any value specified for an output only field will be ignored.
      * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder> + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.scheduler.v1beta1.Job, com.google.cloud.scheduler.v1beta1.Job.Builder, com.google.cloud.scheduler.v1beta1.JobOrBuilder>( - getJob(), - getParentForChildren(), - isClean()); + jobBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.scheduler.v1beta1.Job, + com.google.cloud.scheduler.v1beta1.Job.Builder, + com.google.cloud.scheduler.v1beta1.JobOrBuilder>( + getJob(), getParentForChildren(), isClean()); job_ = null; } return jobBuilder_; @@ -718,34 +804,47 @@ public com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -766,14 +865,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
* * .google.protobuf.FieldMask update_mask = 2; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -784,6 +884,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -794,7 +896,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -806,6 +908,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -824,6 +928,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -831,11 +937,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 2; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -846,11 +954,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * A  mask used to specify which fields of the job are being updated.
      * 
@@ -858,21 +969,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +996,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.scheduler.v1beta1.UpdateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.scheduler.v1beta1.UpdateJobRequest) private static final com.google.cloud.scheduler.v1beta1.UpdateJobRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.scheduler.v1beta1.UpdateJobRequest(); } @@ -896,16 +1010,16 @@ public static com.google.cloud.scheduler.v1beta1.UpdateJobRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateJobRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateJobRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateJobRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateJobRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1034,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.scheduler.v1beta1.UpdateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java rename to proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java index ea129dab..f1df9659 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java +++ b/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/UpdateJobRequestOrBuilder.java @@ -1,64 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/scheduler/v1beta1/cloudscheduler.proto package com.google.cloud.scheduler.v1beta1; -public interface UpdateJobRequestOrBuilder extends +public interface UpdateJobRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.scheduler.v1beta1.UpdateJobRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the job field is set. */ boolean hasJob(); /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The job. */ com.google.cloud.scheduler.v1beta1.Job getJob(); /** + * + * *
    * Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
    * Output only fields cannot be modified using UpdateJob.
    * Any value specified for an output only field will be ignored.
    * 
* - * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * .google.cloud.scheduler.v1beta1.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.scheduler.v1beta1.JobOrBuilder getJobOrBuilder(); /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * A  mask used to specify which fields of the job are being updated.
    * 
diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto b/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto rename to proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/cloudscheduler.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto b/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto rename to proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/job.proto diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto b/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto rename to proto-google-cloud-scheduler-v1beta1/src/main/proto/google/cloud/scheduler/v1beta1/target.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/AsyncCreateJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/AsyncDeleteJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java index 2ecced4e..45995ffc 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java +++ b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJob.java @@ -20,7 +20,6 @@ import com.google.cloud.scheduler.v1.CloudSchedulerClient; import com.google.cloud.scheduler.v1.DeleteJobRequest; import com.google.cloud.scheduler.v1.JobName; -import com.google.protobuf.Empty; public class SyncDeleteJob { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java index 09305278..97e14c2d 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java +++ b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java @@ -19,7 +19,6 @@ // [START scheduler_v1_generated_cloudschedulerclient_deletejob_jobname_sync] import com.google.cloud.scheduler.v1.CloudSchedulerClient; import com.google.cloud.scheduler.v1.JobName; -import com.google.protobuf.Empty; public class SyncDeleteJobJobname { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java index d9aca0cf..d84aebbe 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java +++ b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/deletejob/SyncDeleteJobString.java @@ -19,7 +19,6 @@ // [START scheduler_v1_generated_cloudschedulerclient_deletejob_string_sync] import com.google.cloud.scheduler.v1.CloudSchedulerClient; import com.google.cloud.scheduler.v1.JobName; -import com.google.protobuf.Empty; public class SyncDeleteJobString { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/AsyncGetJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobJobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/getjob/SyncGetJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobs.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/listjobs/SyncListJobsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/AsyncPauseJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/pausejob/SyncPauseJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/AsyncResumeJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/resumejob/SyncResumeJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/AsyncRunJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobJobname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/runjob/SyncRunJobString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/AsyncUpdateJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/cloudschedulersettings/getjob/SyncGetJob.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/AsyncCreateJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobLocationnameJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/createjob/SyncCreateJobStringJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/AsyncDeleteJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java similarity index 97% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java index a91bdb8e..1faee972 100644 --- a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java +++ b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJob.java @@ -20,7 +20,6 @@ import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; import com.google.cloud.scheduler.v1beta1.DeleteJobRequest; import com.google.cloud.scheduler.v1beta1.JobName; -import com.google.protobuf.Empty; public class SyncDeleteJob { diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java similarity index 97% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java index ff89be60..2503b646 100644 --- a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java +++ b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobJobname.java @@ -19,7 +19,6 @@ // [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_jobname_sync] import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; import com.google.cloud.scheduler.v1beta1.JobName; -import com.google.protobuf.Empty; public class SyncDeleteJobJobname { diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java similarity index 97% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java index b9cf779c..bfa1952a 100644 --- a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java +++ b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/deletejob/SyncDeleteJobString.java @@ -19,7 +19,6 @@ // [START scheduler_v1beta1_generated_cloudschedulerclient_deletejob_string_sync] import com.google.cloud.scheduler.v1beta1.CloudSchedulerClient; import com.google.cloud.scheduler.v1beta1.JobName; -import com.google.protobuf.Empty; public class SyncDeleteJobString { diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/AsyncGetJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobJobname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/getjob/SyncGetJobString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobs.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/AsyncListJobsPaged.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobs.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsLocationname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/listjobs/SyncListJobsString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/AsyncPauseJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobJobname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/pausejob/SyncPauseJobString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/AsyncResumeJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobJobname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/resumejob/SyncResumeJobString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/AsyncRunJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobJobname.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/runjob/SyncRunJobString.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/AsyncUpdateJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulerclient/updatejob/SyncUpdateJobJobFieldmask.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/cloudschedulersettings/getjob/SyncGetJob.java diff --git a/owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java b/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java similarity index 100% rename from owl-bot-staging/v1beta1/samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java rename to samples/snippets/generated/com/google/cloud/scheduler/v1beta1/stub/cloudschedulerstubsettings/getjob/SyncGetJob.java From 3922537350fc324db57b8e871129efbfaf2bbb0e Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 23 Jun 2022 21:01:21 +0000 Subject: [PATCH 3/3] deps: adding gax-httpjson --- google-cloud-scheduler/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-scheduler/pom.xml b/google-cloud-scheduler/pom.xml index 6d0a7e04..759e03ee 100644 --- a/google-cloud-scheduler/pom.xml +++ b/google-cloud-scheduler/pom.xml @@ -62,6 +62,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -100,12 +104,24 @@ + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test +